mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 06:50:40 +02:00
Merge pull request #48 from aszxqw/master
fix bug about : writed needle into localfile twice when replicating
This commit is contained in:
commit
f2b07d6051
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user