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