mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #6085 from yousong/bugfix/yousong-proxysetting
region: cloudaccounts: re-validate only when proxysetting changed
This commit is contained in:
@@ -304,7 +304,7 @@ func (self *SCloudaccount) ValidateUpdateData(
|
||||
return input, errors.Wrap(err, "ValidateProxySettingResourceInput")
|
||||
}
|
||||
|
||||
if proxySetting != nil {
|
||||
if proxySetting != nil && proxySetting.Id != self.ProxySettingId {
|
||||
// updated proxy setting, so do the check
|
||||
proxyFunc := proxySetting.HttpTransportProxyFunc()
|
||||
secret, _ := self.getPassword()
|
||||
|
||||
Reference in New Issue
Block a user