Browse Source

fix bug about : writed needle into localfile twice when replicating, because of the ip is not equal : ":8080" != "127.0.0.1:8080"

pull/48/head
yanyiwu 10 years ago
parent
commit
7d810a15c0
  1. 1
      go/weed/volume.go

1
go/weed/volume.go

@ -71,6 +71,7 @@ func runVolume(cmd *Command, args []string) bool {
if *publicIp == "" { if *publicIp == "" {
if *ip == "" { if *ip == "" {
*ip = "127.0.0.1"
*publicIp = "localhost" *publicIp = "localhost"
} else { } else {
*publicIp = *ip *publicIp = *ip

Loading…
Cancel
Save