Quellcode durchsuchen

fix wrong snapshot path

Xiang Li vor 13 Jahren
Ursprung
Commit
10b5bc9871
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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)