mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(region): storage conf update (#21393)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user