mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-25 19:20:30 +08:00
改进操作日志
This commit is contained in:
@@ -25,7 +25,7 @@ func (this *IndexAction) RunPost(params struct {
|
||||
Must *actions.Must
|
||||
}) {
|
||||
// 记录日志
|
||||
this.CreateLog(oplogs.LevelInfo, "删除代理服务 %d", params.ServerId)
|
||||
defer this.CreateLog(oplogs.LevelInfo, "删除代理服务 %d", params.ServerId)
|
||||
|
||||
// 执行删除
|
||||
_, err := this.RPC().ServerRPC().DisableServer(this.AdminContext(), &pb.DisableServerRequest{ServerId: params.ServerId})
|
||||
|
||||
Reference in New Issue
Block a user