summaryrefslogtreecommitdiffstats
path: root/api/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/context.go')
-rw-r--r--api/context.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/api/context.go b/api/context.go
index 33dc8b2ac..6d1e758e8 100644
--- a/api/context.go
+++ b/api/context.go
@@ -150,9 +150,6 @@ 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.%v", model.CurrentVersion, model.BuildNumber, utils.ClientCfgHash, utils.IsLicensed))
- if einterfaces.GetClusterInterface() != nil {
- w.Header().Set(model.HEADER_CLUSTER_ID, einterfaces.GetClusterInterface().GetClusterId())
- }
// Instruct the browser not to display us in an iframe unless is the same origin for anti-clickjacking
if !h.isApi {