mirror of
https://github.com/minio/minio.git
synced 2026-11-22 15:13:48 +00:00
Consolidate controller, move rpc package into controller - remove dangling code in pkg/server
This commit is contained in:
1 parent
8d5f6e0b96
commit
3f4b98ca4c
13 files changed
+9
-36
No files matched your search
@@ -54,7 +54,8 @@ func getRPCServer(rpcHandler http.Handler) (*http.Server, *probe.Error) {
|
||||
return httpServer, nil
|
||||
}
|
||||
|
||||
func StartController() *probe.Error {
|
||||
// Start starts a controller
|
||||
func Start() *probe.Error {
|
||||
rpcServer, err := getRPCServer(getRPCHandler())
|
||||
if err != nil {
|
||||
return err.Trace()
|
||||
|
||||
Reference in new issue
Block a user