Fix compilation error

This commit is contained in:
chrislusf 2015-02-12 19:51:48 -08:00
parent 3b1b955fc5
commit e282a9b06a

View file

@ -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 {