mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 14:19:49 +08:00
添加更新操作后的操作
This commit is contained in:
@@ -993,6 +993,7 @@ func updateItem(manager IModelManager, item IModel, ctx context.Context, userCre
|
||||
if diff != nil {
|
||||
diffStr := sqlchemy.UpdateDiffString(diff)
|
||||
if len(diffStr) > 0 {
|
||||
item.PostUpdate(ctx, userCred, query, dataDict)
|
||||
OpsLog.LogEvent(item, ACT_UPDATE, diffStr, userCred)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user