aboutsummaryrefslogtreecommitdiff
path: root/weed/operation/grpc_client.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@uber.com>2019-03-19 05:47:41 -0700
committerChris Lu <chris.lu@uber.com>2019-03-19 05:47:41 -0700
commitda871896c345372780c35de7364b42d910935c53 (patch)
tree32a8bf8419c3533a5d59ab194a2a6dcc664c95b2 /weed/operation/grpc_client.go
parent916b809c086e94208eabe2af1086bcb1289ed298 (diff)
downloadseaweedfs-da871896c345372780c35de7364b42d910935c53.tar.xz
seaweedfs-da871896c345372780c35de7364b42d910935c53.zip
weed filer: set grpc port to port + 10000
Diffstat (limited to 'weed/operation/grpc_client.go')
-rw-r--r--weed/operation/grpc_client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/operation/grpc_client.go b/weed/operation/grpc_client.go
index eb97f5ce1..ea7a82044 100644
--- a/weed/operation/grpc_client.go
+++ b/weed/operation/grpc_client.go
@@ -42,7 +42,7 @@ func withMasterServerClient(masterServer string, grpcDialOption grpc.DialOption,
ctx := context.Background()
- masterGrpcAddress, parseErr := util.ParseServerToGrpcAddress(masterServer, 0)
+ masterGrpcAddress, parseErr := util.ParseServerToGrpcAddress(masterServer)
if parseErr != nil {
return fmt.Errorf("failed to parse master grpc %v", masterServer)
}