mirror of
https://github.com/jkaninda/mysql-bkup.git
synced 2025-12-06 05:29:41 +01:00
refactor: update logger, fix warning message
This commit is contained in:
@@ -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