mirror of
https://github.com/pgsty/minio.git
synced 2026-07-24 06:26:17 +03:00
committed by
Minio Trusted
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
|
||||||
|
|||||||
Reference in New Issue
Block a user