aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-11-27 03:08:24 -0800
committerChris Lu <chris.lu@gmail.com>2019-11-27 03:09:45 -0800
commit67e5f5b55885fb1c017ba5369fc05537966de414 (patch)
treef44f9b5fa32a152a5bea4f227d751529e9214027 /weed/command/mount.go
parentc260ab457fbbddfdd6b6d04041a66b7a1a233e54 (diff)
downloadseaweedfs-67e5f5b55885fb1c017ba5369fc05537966de414.tar.xz
seaweedfs-67e5f5b55885fb1c017ba5369fc05537966de414.zip
typo
Diffstat (limited to 'weed/command/mount.go')
-rw-r--r--weed/command/mount.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/mount.go b/weed/command/mount.go
index 71c1a4387..c6c346271 100644
--- a/weed/command/mount.go
+++ b/weed/command/mount.go
@@ -64,12 +64,12 @@ var cmdMount = &Command{
func parseFilerGrpcAddress(filer string) (filerGrpcAddress string, err error) {
hostnameAndPort := strings.Split(filer, ":")
if len(hostnameAndPort) != 2 {
- return "", fmt.Errorf("The filer should have hostname:port format: %v", hostnameAndPort)
+ return "", fmt.Errorf("filer should have hostname:port format: %v", hostnameAndPort)
}
filerPort, parseErr := strconv.ParseUint(hostnameAndPort[1], 10, 64)
if parseErr != nil {
- return "", fmt.Errorf("The filer filer port parse error: %v", parseErr)
+ return "", fmt.Errorf("filer port parse error: %v", parseErr)
}
filerGrpcPort := int(filerPort) + 10000