mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
Add disk-cache and worm to user-agent (#5729)
This commit is contained in:
parent
a3e806ed61
commit
5006e28367
@ -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…
Reference in New Issue
Block a user