From a6bffc58f9517ccb5116b66b1cea77ea0f2abca1 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 18 Jan 2019 14:15:10 -0800 Subject: [PATCH] go fmt --- weed/command/master.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/command/master.go b/weed/command/master.go index 11f634ed4..bd2267b9e 100644 --- a/weed/command/master.go +++ b/weed/command/master.go @@ -9,9 +9,9 @@ import ( "time" "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/master_pb" "github.com/chrislusf/seaweedfs/weed/server" "github.com/chrislusf/seaweedfs/weed/util" - "github.com/chrislusf/seaweedfs/weed/pb/master_pb" "github.com/gorilla/mux" "google.golang.org/grpc/reflection" ) @@ -97,7 +97,7 @@ func runMaster(cmd *Command, args []string) bool { if grpcPort == 0 { grpcPort = *mport + 10000 } - grpcL, err := util.NewListener(*masterBindIp + ":"+strconv.Itoa(grpcPort), 0) + grpcL, err := util.NewListener(*masterBindIp+":"+strconv.Itoa(grpcPort), 0) if err != nil { glog.Fatalf("master failed to listen on grpc port %d: %v", grpcPort, err) }