mirror of
https://github.com/minio/minio.git
synced 2025-04-26 21:12:28 -04:00
internal: add handling of KVS config parse (#21079)
This commit is contained in:
parent
b1bc641105
commit
a0e3f1cc18
@ -941,6 +941,9 @@ func (c Config) SetKVS(s string, defaultKVS map[string]KVS) (dynamic bool, err e
|
||||
if err != nil {
|
||||
return false, err
|
||||
}
|
||||
if len(inputs) < 2 {
|
||||
return false, Errorf("sub-system '%s' must have key", subSys)
|
||||
}
|
||||
|
||||
dynamic = SubSystemsDynamic.Contains(subSys)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user