Skip to content

Commit

Permalink
Merge pull request #26 from ichtrojan/postgres-fix
Browse files Browse the repository at this point in the history
fix postgres connection
  • Loading branch information
ichtrojan authored Apr 2, 2022
2 parents a95cf3c + e9bf52a commit afd3a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horus.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func Init(database string, config Config) (InternalConfig, error) {
}, nil
case "postgres":
return InternalConfig{
Database: "mysql",
Database: "postgres",
Dsn: fmt.Sprintf("host=%s user=%s password=%s dbname=%s port=%s", host, user, pass, name, port),
}, nil
default:
Expand Down

0 comments on commit afd3a6a

Please sign in to comment.