diff options
Diffstat (limited to 'weed/command/master.go')
| -rw-r--r-- | weed/command/master.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/weed/command/master.go b/weed/command/master.go index 8abec2a3d..c1b9cf5ae 100644 --- a/weed/command/master.go +++ b/weed/command/master.go @@ -14,7 +14,6 @@ import ( "github.com/chrislusf/seaweedfs/weed/util" "github.com/gorilla/mux" "github.com/soheilhy/cmux" - "google.golang.org/grpc" "google.golang.org/grpc/reflection" ) @@ -103,7 +102,7 @@ func runMaster(cmd *Command, args []string) bool { httpL := m.Match(cmux.Any()) // Create your protocol servers. - grpcS := grpc.NewServer() + grpcS := util.NewGrpcServer() master_pb.RegisterSeaweedServer(grpcS, ms) reflection.Register(grpcS) |
