mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
fix wrong snapshot path
This commit is contained in:
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…
x
Reference in New Issue
Block a user