diff options
Diffstat (limited to 'api4/cluster.go')
-rw-r--r-- | api4/cluster.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api4/cluster.go b/api4/cluster.go index c802d2a7e..f79ef28a8 100644 --- a/api4/cluster.go +++ b/api4/cluster.go @@ -12,10 +12,10 @@ import ( "github.com/mattermost/mattermost-server/utils" ) -func InitCluster() { +func (api *API) InitCluster() { l4g.Debug(utils.T("api.cluster.init.debug")) - BaseRoutes.Cluster.Handle("/status", ApiSessionRequired(getClusterStatus)).Methods("GET") + api.BaseRoutes.Cluster.Handle("/status", api.ApiSessionRequired(getClusterStatus)).Methods("GET") } func getClusterStatus(c *Context, w http.ResponseWriter, r *http.Request) { |