From 241443b97489398c97368d2ff808d4e866d1ed2c Mon Sep 17 00:00:00 2001 From: Brennan Lamey Date: Mon, 21 Oct 2024 09:26:54 -0500 Subject: [PATCH] fix lint --- cmd/kwild/server/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kwild/server/build.go b/cmd/kwild/server/build.go index 812bf1442..43a2cac86 100644 --- a/cmd/kwild/server/build.go +++ b/cmd/kwild/server/build.go @@ -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") }