guest_deploy_task: log other deploy details with i18n

Fixes 9f350392 ("add service tag for actionlog")
This commit is contained in:
Yousong Zhou
2021-01-07 11:33:25 +08:00
parent ff52fb7287
commit e40ca53b6b
+1 -1
View File
@@ -106,7 +106,7 @@ func (self *GuestDeployTask) OnDeployGuestComplete(ctx context.Context, obj db.I
}
if !_log {
// 如果 deploy 有其他事件,统一记在这里。
logclient.AddActionLogWithStartable(self, guest, "misc部署", "", self.UserCred, true)
logclient.AddActionLogWithStartable(self, guest, logclient.ACT_VM_DEPLOY, action, self.UserCred, true)
}
if self.HasParentTask() {