mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-26 13:47:40 +00:00
Fix ugly bug. #25
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ func OpenDB(path string) (Storage, error) {
|
|||||||
|
|
||||||
// RecoverDB recovers LevelDB database from corruption
|
// RecoverDB recovers LevelDB database from corruption
|
||||||
func RecoverDB(path string) error {
|
func RecoverDB(path string) error {
|
||||||
stor, err := storage.OpenFile("/Users/smira/.aptly/db/")
|
stor, err := storage.OpenFile(path)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user