From 87343176fcc01eb064def97a913157e3967ffcc6 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Wed, 5 Apr 2017 19:10:20 +0100 Subject: PLT-5977: Only reload clients when client config changes. (#5989) --- api4/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api4') diff --git a/api4/context.go b/api4/context.go index 36a48eb9d..484a6432f 100644 --- a/api4/context.go +++ b/api4/context.go @@ -128,7 +128,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()) } -- cgit v1.2.3-1-g7c22