mirror of
https://github.com/minio/minio.git
synced 2025-04-22 11:26:36 -04:00
parent
4da641533d
commit
46fd9f4a53
@ -234,7 +234,7 @@ func (sCfg Config) GetParityForSC(sc string) (parity int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Update update storage-class with new config
|
// Update update storage-class with new config
|
||||||
func (sCfg Config) Update(newCfg Config) {
|
func (sCfg *Config) Update(newCfg Config) {
|
||||||
ConfigLock.Lock()
|
ConfigLock.Lock()
|
||||||
defer ConfigLock.Unlock()
|
defer ConfigLock.Unlock()
|
||||||
sCfg.RRS = newCfg.RRS
|
sCfg.RRS = newCfg.RRS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user