fix wrong snapshot path
parent
06c9f1893f
commit
10b5bc9871
2
etcd.go
2
etcd.go
|
@ -520,7 +520,7 @@ func getInfo(path string) *Info {
|
|||
|
||||
logPath := fmt.Sprintf("%s/log", path)
|
||||
confPath := fmt.Sprintf("%s/conf", path)
|
||||
snapshotPath := fmt.Sprintf("%s/snapshotPath", path)
|
||||
snapshotPath := fmt.Sprintf("%s/snapshot", path)
|
||||
os.Remove(infoPath)
|
||||
os.Remove(logPath)
|
||||
os.Remove(confPath)
|
||||
|
|
Loading…
Reference in New Issue