aboutsummaryrefslogtreecommitdiff
path: root/weed/command/master.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-05-09 23:11:54 -0700
committerChris Lu <chris.lu@gmail.com>2018-05-09 23:11:54 -0700
commit942c2cbd7b504813e242ad78837ac3561f9a2130 (patch)
tree027dedec647347bb156d00b7c4f9893e6cff9d3b /weed/command/master.go
parent57c5405657fc58ff1fe133e06dbadbf8c9c7f924 (diff)
downloadseaweedfs-942c2cbd7b504813e242ad78837ac3561f9a2130.tar.xz
seaweedfs-942c2cbd7b504813e242ad78837ac3561f9a2130.zip
mv pb to master_pb
Diffstat (limited to 'weed/command/master.go')
-rw-r--r--weed/command/master.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/master.go b/weed/command/master.go
index 16e343f77..8abec2a3d 100644
--- a/weed/command/master.go
+++ b/weed/command/master.go
@@ -9,7 +9,7 @@ import (
"time"
"github.com/chrislusf/seaweedfs/weed/glog"
- "github.com/chrislusf/seaweedfs/weed/pb"
+ "github.com/chrislusf/seaweedfs/weed/pb/master_pb"
"github.com/chrislusf/seaweedfs/weed/server"
"github.com/chrislusf/seaweedfs/weed/util"
"github.com/gorilla/mux"
@@ -104,7 +104,7 @@ func runMaster(cmd *Command, args []string) bool {
// Create your protocol servers.
grpcS := grpc.NewServer()
- pb.RegisterSeaweedServer(grpcS, ms)
+ master_pb.RegisterSeaweedServer(grpcS, ms)
reflection.Register(grpcS)
httpS := &http.Server{Handler: r}