mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
Rename stuttered service names and make them appropriate
This commit is contained in:
@@ -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