mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 09:39:23 +08:00
weed filer: set grpc port to port + 10000
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user