fix(region): storage conf update (#21393)

This commit is contained in:
屈轩
2024-10-11 18:05:07 +08:00
committed by GitHub
parent 568b781177
commit 123b51a321
+1 -1
View File
@@ -121,7 +121,7 @@ func (self *SStorage) ValidateUpdateData(ctx context.Context, userCred mcclient.
if self.StorageConf != nil {
confs, _ := self.StorageConf.GetMap()
for k, v := range confs {
if input.StorageConf.Contains(k) {
if !input.StorageConf.Contains(k) {
continue
}
input.StorageConf.Set(k, v)