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