mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 14:19:49 +08:00
Merge pull request #5173 from swordqiu/hotfix/qj-sync-provider-with-account-status-change
fix: sync cloud provider should change its cloud account's sync_status
This commit is contained in:
@@ -551,6 +551,7 @@ func (self *SCloudprovider) StartSyncCloudProviderInfoTask(ctx context.Context,
|
||||
}
|
||||
if cloudaccount := self.GetCloudaccount(); cloudaccount != nil {
|
||||
cloudaccount.markAutoSync(userCred)
|
||||
cloudaccount.MarkSyncing(userCred)
|
||||
}
|
||||
self.markStartSync(userCred)
|
||||
db.OpsLog.LogEvent(self, db.ACT_SYNC_HOST_START, "", userCred)
|
||||
|
||||
Reference in New Issue
Block a user