mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-24 12:32:55 +08:00
Merge pull request #5358 from swordqiu/hotfix/qj-update-status-eventlog
fix: corrent update status logclient event type
This commit is contained in:
@@ -68,7 +68,7 @@ func statusBaseSetStatus(model IStatusBase, userCred mcclient.TokenCredential, s
|
||||
notes = fmt.Sprintf("%s: %s", notes, reason)
|
||||
}
|
||||
OpsLog.LogEvent(model, ACT_UPDATE_STATUS, notes, userCred)
|
||||
logclient.AddSimpleActionLog(model, logclient.ACT_DISABLE, nil, userCred, true)
|
||||
logclient.AddSimpleActionLog(model, logclient.ACT_UPDATE_STATUS, notes, userCred, true)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user