优化API命名

This commit is contained in:
刘祥超
2021-05-25 17:48:51 +08:00
parent cc76172a46
commit b57b242232
35 changed files with 114 additions and 114 deletions

View File

@@ -108,8 +108,8 @@ func (this *UpdateNodeSSHAction) RunPost(params struct {
}
_, err := this.RPC().NodeRPC().UpdateNodeLogin(this.AdminContext(), &pb.UpdateNodeLoginRequest{
NodeId: params.NodeId,
Login: login,
NodeId: params.NodeId,
NodeLogin: login,
})
if err != nil {
this.ErrorPage(err)