mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-08-01 18:10:57 +08:00
fix bug about : writed needle into localfile twice when replicating, because of the ip is not equal : ":8080" != "127.0.0.1:8080"
This commit is contained in:
parent
f7f6f331db
commit
7d810a15c0
@ -71,6 +71,7 @@ func runVolume(cmd *Command, args []string) bool {
|
||||
|
||||
if *publicIp == "" {
|
||||
if *ip == "" {
|
||||
*ip = "127.0.0.1"
|
||||
*publicIp = "localhost"
|
||||
} else {
|
||||
*publicIp = *ip
|
||||
|
Loading…
Reference in New Issue
Block a user