mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Fix compilation error
This commit is contained in:
parent
3b1b955fc5
commit
e282a9b06a
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue