summaryrefslogtreecommitdiffstats
path: root/api/context.go
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-04-05 19:10:20 +0100
committerGitHub <noreply@github.com>2017-04-05 19:10:20 +0100
commit87343176fcc01eb064def97a913157e3967ffcc6 (patch)
treeff122a153da562c2d49d193a7f815ffbd2382c2d /api/context.go
parent997b35d2fc482e2629251ed4c9d298644bbdf097 (diff)
downloadchat-87343176fcc01eb064def97a913157e3967ffcc6.tar.gz
chat-87343176fcc01eb064def97a913157e3967ffcc6.tar.bz2
chat-87343176fcc01eb064def97a913157e3967ffcc6.zip
PLT-5977: Only reload clients when client config changes. (#5989)
Diffstat (limited to 'api/context.go')
-rw-r--r--api/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/context.go b/api/context.go
index ff6018920..bc5855345 100644
--- a/api/context.go
+++ b/api/context.go
@@ -149,7 +149,7 @@ func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
c.SetSiteURLHeader(app.GetProtocol(r) + "://" + r.Host)
w.Header().Set(model.HEADER_REQUEST_ID, c.RequestId)
- w.Header().Set(model.HEADER_VERSION_ID, fmt.Sprintf("%v.%v.%v.%v", model.CurrentVersion, model.BuildNumber, utils.CfgHash, utils.IsLicensed))
+ w.Header().Set(model.HEADER_VERSION_ID, fmt.Sprintf("%v.%v.%v.%v", model.CurrentVersion, model.BuildNumber, utils.ClientCfgHash, utils.IsLicensed))
if einterfaces.GetClusterInterface() != nil {
w.Header().Set(model.HEADER_CLUSTER_ID, einterfaces.GetClusterInterface().GetClusterId())
}