Browse Source

ensure non empty volume publicUrl

pull/96/head
chrislusf 10 years ago
parent
commit
3b1b955fc5
  1. 3
      go/weed/volume.go

3
go/weed/volume.go

@ -98,6 +98,9 @@ func runVolume(cmd *Command, args []string) bool {
if *v.ip == "" {
*v.ip = "127.0.0.1"
}
if *v.publicUrl == "" {
*v.publicUrl = *v.ip + ":" + *v.port
}
if *v.adminPort == 0 {
*v.adminPort = *v.port

Loading…
Cancel
Save