Skip to content

Commit

Permalink
Fix the fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
paulyhedral committed Oct 27, 2024
1 parent 882c6e3 commit af9143b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func buildDbURL() (*url.URL, string) {

var host string
if portFound {
fmt.Sprintf("%s:%d", dbHost, dbPort)
host = fmt.Sprintf("%s:%d", dbHost, dbPort)

Check failure on line 41 in database/db.go

View workflow job for this annotation

GitHub Actions / Linux

fmt.Sprintf format %d has arg dbPort of wrong type string
} else {
host = dbHost
}
Expand Down

0 comments on commit af9143b

Please sign in to comment.