Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
brennanjl committed Oct 21, 2024
1 parent a5455aa commit 241443b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kwild/server/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ func buildDB(d *coreDependencies, closer *closeFuncs) *pg.DB {
// If yes, restore the database from the snapshot
fromSnapshot := restoreDB(d)

db, err := d.dbOpener(d.ctx, d.cfg.AppConfig.DBName, uint32(d.cfg.AppConfig.MaxDBConnections))
db, err := d.dbOpener(d.ctx, d.cfg.AppConfig.DBName, d.cfg.AppConfig.MaxDBConnections)
if err != nil {
failBuild(err, "kwild database open failed")
}
Expand Down

0 comments on commit 241443b

Please sign in to comment.