Browse Source

fix wrong snapshot path

Xiang Li 12 years ago
parent
commit
10b5bc9871
1 changed files with 1 additions and 1 deletions
  1. 1 1
      etcd.go

+ 1 - 1
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)