mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-08 06:00:24 +08:00
改进操作日志
This commit is contained in:
@@ -14,7 +14,7 @@ func (this *DeleteAction) RunPost(params struct {
|
||||
NodeId int64
|
||||
}) {
|
||||
// 创建日志
|
||||
this.CreateLog(oplogs.LevelInfo, "删除数据库节点 %d", params.NodeId)
|
||||
defer this.CreateLog(oplogs.LevelInfo, "删除数据库节点 %d", params.NodeId)
|
||||
|
||||
_, err := this.RPC().DBNodeRPC().DeleteDBNode(this.AdminContext(), &pb.DeleteDBNodeRequest{NodeId: params.NodeId})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user