feat: add multi database backup

This commit is contained in:
Jonas Kaninda
2024-10-09 12:05:37 +02:00
parent 1df1c46a96
commit ad9d7a00cc
7 changed files with 72 additions and 14 deletions

View File

@@ -7,7 +7,6 @@
package pkg
import (
"errors"
"fmt"
"github.com/jkaninda/pg-bkup/utils"
"github.com/spf13/cobra"
@@ -271,5 +270,5 @@ func loadConfigFile() (string, error) {
if err == nil {
return backupConfigFile, nil
}
return "", errors.New("backup config file not found")
return "", fmt.Errorf("backup config file not found")
}