mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-24 23:41:52 +08:00
Merge pull request #18525 from ioito/automated-cherry-pick-of-#18524-upstream-release-3.11
Automated cherry pick of #18524: fix(region): skip vm eip not found error log
This commit is contained in:
@@ -1120,7 +1120,10 @@ func syncVMPeripherals(
|
||||
account, _ := provider.GetCloudaccount()
|
||||
if account == nil || account.IsNotSkipSyncResource(ElasticipManager) {
|
||||
err = syncVMEip(ctx, userCred, provider, local, remote)
|
||||
if err != nil && errors.Cause(err) != cloudprovider.ErrNotSupported && errors.Cause(err) != cloudprovider.ErrNotImplemented {
|
||||
if err != nil &&
|
||||
errors.Cause(err) != cloudprovider.ErrNotSupported &&
|
||||
errors.Cause(err) != cloudprovider.ErrNotImplemented &&
|
||||
errors.Cause(err) != cloudprovider.ErrNotFound {
|
||||
logclient.AddSimpleActionLog(local, logclient.ACT_CLOUD_SYNC, errors.Wrapf(err, "syncVMEip"), userCred, false)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user