mirror of
https://github.com/minio/minio.git
synced 2026-11-22 15:13:48 +00:00
Rename stuttered service names and make them appropriate
This commit is contained in:
1 parent
18a8891a15
commit
a3ccb9d405
3 files changed
+15
-15
No files matched your search
@@ -117,9 +117,9 @@ func getAPIHandler(conf api.Config) (http.Handler, api.Minio) {
|
||||
func getRPCHandler() http.Handler {
|
||||
s := rpc.NewServer()
|
||||
s.RegisterJSONCodec()
|
||||
s.RegisterService(new(rpc.VersionService), "")
|
||||
s.RegisterService(new(rpc.GetSysInfoService), "")
|
||||
s.RegisterService(new(rpc.GetDiskInfoService), "")
|
||||
s.RegisterService(new(rpc.VersionService), "Version")
|
||||
s.RegisterService(new(rpc.SysInfoService), "SysInfo")
|
||||
s.RegisterService(new(rpc.DiskInfoService), "DiskInfo")
|
||||
// Add new services here
|
||||
return registerRPC(router.NewRouter(), s)
|
||||
}
|
||||
Reference in new issue
Block a user