diff options
author | George Goldberg <george@gberg.me> | 2017-03-23 17:38:24 +0000 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2017-03-23 17:38:24 +0000 |
commit | c6ded1dbfd69a1da69add8d2b554f4b7dd0341b3 (patch) | |
tree | a417d54a58edd244edb03935705618737cf2cf13 /api/context.go | |
parent | 120f5a6f8a5f4ab05aace89ae710698cf68d0564 (diff) | |
parent | 8ec37570742b67fd640bb3434ea226c655dbf408 (diff) | |
download | chat-c6ded1dbfd69a1da69add8d2b554f4b7dd0341b3.tar.gz chat-c6ded1dbfd69a1da69add8d2b554f4b7dd0341b3.tar.bz2 chat-c6ded1dbfd69a1da69add8d2b554f4b7dd0341b3.zip |
Merge branch 'release-3.7'
Diffstat (limited to 'api/context.go')
-rw-r--r-- | api/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/context.go b/api/context.go index 9a707c968..1b251eb53 100644 --- a/api/context.go +++ b/api/context.go @@ -154,7 +154,7 @@ func (h handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { } w.Header().Set(model.HEADER_REQUEST_ID, c.RequestId) - w.Header().Set(model.HEADER_VERSION_ID, fmt.Sprintf("%v.%v.%v", model.CurrentVersion, model.BuildNumber, utils.CfgHash)) + w.Header().Set(model.HEADER_VERSION_ID, fmt.Sprintf("%v.%v.%v.%v", model.CurrentVersion, model.BuildNumber, utils.CfgHash, utils.IsLicensed)) if einterfaces.GetClusterInterface() != nil { w.Header().Set(model.HEADER_CLUSTER_ID, einterfaces.GetClusterInterface().GetClusterId()) } |