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 {