Add disk-cache and worm to user-agent (#5729)

master
poornas 7 years ago committed by Dee Koder
parent a3e806ed61
commit 5006e28367
  1. 6
      cmd/update-main.go

@ -244,6 +244,12 @@ func getUserAgent(mode string) string {
if mode != "" {
uaAppend("; ", mode)
}
if globalIsDiskCacheEnabled {
uaAppend("; ", "feature-cache")
}
if globalWORMEnabled {
uaAppend("; ", "feature-worm")
}
if IsDCOS() {
uaAppend("; ", "dcos")
}

Loading…
Cancel
Save