mirror of
https://github.com/jkaninda/mysql-bkup.git
synced 2026-11-13 08:37:15 +00:00
refactor: update logger, fix warning message
This commit is contained in:
1 parent
448ef4d988
commit
8e20e9595f
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -96,7 +96,7 @@ func restoreFromRemote(db *dbConfig, conf *RestoreConfig) {
|
||||
}
|
||||
err = sshStorage.CopyFrom(conf.file)
|
||||
if err != nil {
|
||||
utils.Fatal("Error copying backup file: %w", err)
|
||||
utils.Fatal("Error copying backup file: %s", err)
|
||||
}
|
||||
RestoreDatabase(db, conf)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user