mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
go fmt
This commit is contained in:
parent
e982b06bcd
commit
bd727b7b53
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue