Skip to content

Commit

Permalink
Update command.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sadihakan committed Apr 1, 2021
1 parent e76d39d commit 482aa5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func getImportCommandArg(cfg config.Config) (arg []string) {

// getExportCommandArg ...
func getExportCommandArg(cfg config.Config) (arg []string) {
filename := fmt.Sprintf("%s.backup", cfg.BackupName)
filename := fmt.Sprintf("%s", cfg.BackupName)
switch cfg.Source {
case config.PostgreSQL:
dns := fmt.Sprintf(`user=%s password=%s dbname=%s`, cfg.User, cfg.Password, cfg.DB)
Expand Down

0 comments on commit 482aa5f

Please sign in to comment.