aboutsummaryrefslogtreecommitdiff
path: root/go/weed/volume.go
diff options
context:
space:
mode:
authorchrislusf <chris.lu@gmail.com>2015-02-12 19:51:48 -0800
committerchrislusf <chris.lu@gmail.com>2015-02-12 19:51:48 -0800
commite282a9b06aa6e99a7b167afe1d5bcedae3e69ec6 (patch)
tree78a38fb8d69b4555885314781f24802328535715 /go/weed/volume.go
parent3b1b955fc594465da09d1d9568eb9f6b37931490 (diff)
downloadseaweedfs-e282a9b06aa6e99a7b167afe1d5bcedae3e69ec6.tar.xz
seaweedfs-e282a9b06aa6e99a7b167afe1d5bcedae3e69ec6.zip
Fix compilation error
Diffstat (limited to 'go/weed/volume.go')
-rw-r--r--go/weed/volume.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/weed/volume.go b/go/weed/volume.go
index a73378581..f346d4b1c 100644
--- a/go/weed/volume.go
+++ b/go/weed/volume.go
@@ -99,7 +99,7 @@ func runVolume(cmd *Command, args []string) bool {
*v.ip = "127.0.0.1"
}
if *v.publicUrl == "" {
- *v.publicUrl = *v.ip + ":" + *v.port
+ *v.publicUrl = *v.ip + ":" + strconv.Itoa(*v.port)
}
if *v.adminPort == 0 {