diff --git a/pkg/compute/tasks/cloud_provider_sync_info_task.go b/pkg/compute/tasks/cloud_provider_sync_info_task.go index e3093c1df6..97014615ad 100644 --- a/pkg/compute/tasks/cloud_provider_sync_info_task.go +++ b/pkg/compute/tasks/cloud_provider_sync_info_task.go @@ -425,6 +425,8 @@ func syncHostVMs(ctx context.Context, provider *models.SCloudprovider, task *Clo syncVMNics(ctx, provider, task, localHost, &localVMs[i], remoteVMs[i]) syncVMDisks(ctx, provider, task, localHost, &localVMs[i], remoteVMs[i]) syncVMEip(ctx, provider, task, &localVMs[i], remoteVMs[i]) + + db.OpsLog.LogEvent(&localVMs[i], db.ACT_SYNC_CLOUD_SERVER, localVMs[i].GetShortDesc(), task.UserCred) } }