use package name correctly (#5827)

This commit is contained in:
Bala FA authored and Harshavardhana committed 2018-04-21 19:23:54 -07:00
1 parent f16bfda2f2
commit 76cc65531c
21 files changed
+93 -93

No files matched your search

+3 -3
View File
@@ -19,7 +19,7 @@ package cmd
import (
"context"
router "github.com/gorilla/mux"
"github.com/gorilla/mux"
"github.com/minio/minio/cmd/logger"
)
@@ -37,7 +37,7 @@ type browserPeerAPIHandlers struct {
}
// Register RPC router
func registerBrowserPeerRPCRouter(mux *router.Router) error {
func registerBrowserPeerRPCRouter(router *mux.Router) error {
bpHandlers := &browserPeerAPIHandlers{AuthRPCServer{}}
bpRPCServer := newRPCServer()
@@ -47,7 +47,7 @@ func registerBrowserPeerRPCRouter(mux *router.Router) error {
return err
}
bpRouter := mux.NewRoute().PathPrefix(minioReservedBucketPath).Subrouter()
bpRouter := router.PathPrefix(minioReservedBucketPath).Subrouter()
bpRouter.Path(browserPeerPath).Handler(bpRPCServer)
return nil
}