diff --git a/weed/pb/grpc_client_server.go b/weed/pb/grpc_client_server.go index 341718ae4..c7a47a91c 100644 --- a/weed/pb/grpc_client_server.go +++ b/weed/pb/grpc_client_server.go @@ -127,7 +127,7 @@ func hostAndPort(address string) (host string, port uint64, err error) { } port, err = strconv.ParseUint(address[colonIndex+1:], 10, 64) if err != nil { - return "", 0, fmt.Errorf("server port parse error: %v", err) + return "", 0, fmt.Errorf("server port parse error: %v", err) } return address[:colonIndex], port, err