优化API命名

This commit is contained in:
GoEdgeLab
2021-05-25 17:48:55 +08:00
parent b496bbfd62
commit fa74ebecd5
5 changed files with 39 additions and 39 deletions

View File

@@ -580,8 +580,8 @@ func (this *ServerService) ListEnabledServersMatch(ctx context.Context, req *pb.
Id: int64(server.ClusterId),
Name: clusterName,
},
Groups: pbGroups,
User: pbUser,
ServerGroups: pbGroups,
User: pbUser,
})
}
@@ -711,8 +711,8 @@ func (this *ServerService) FindEnabledServer(ctx context.Context, req *pb.FindEn
Id: int64(server.ClusterId),
Name: clusterName,
},
Groups: pbGroups,
User: pbUser,
ServerGroups: pbGroups,
User: pbUser,
}}, nil
}