weed filer: set grpc port to port + 10000

This commit is contained in:
Chris Lu
2019-03-19 05:47:41 -07:00
parent 916b809c08
commit da871896c3
9 changed files with 13 additions and 21 deletions

View File

@@ -101,7 +101,7 @@ func (mc *MasterClient) tryAllMasters() {
func withMasterClient(ctx context.Context, master string, grpcDialOption grpc.DialOption, fn func(ctx context.Context, client master_pb.SeaweedClient) error) error {
masterGrpcAddress, parseErr := util.ParseServerToGrpcAddress(master, 0)
masterGrpcAddress, parseErr := util.ParseServerToGrpcAddress(master)
if parseErr != nil {
return fmt.Errorf("failed to parse master grpc %v", master)
}