From c1bfb544a1c5ce06716d55635b40dbe26e61351b Mon Sep 17 00:00:00 2001 From: Dylan Bourque Date: Mon, 16 Sep 2024 09:50:51 -0500 Subject: [PATCH] chore: address linter warnings suppress new integer overflow warning where no overflow occurs --- internal/store/pg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/store/pg.go b/internal/store/pg.go index 571331f..0958e9d 100644 --- a/internal/store/pg.go +++ b/internal/store/pg.go @@ -261,7 +261,7 @@ func (p *PostgresClient) QueryModuleVersions(ctx context.Context, query ModuleVe q = q.Offset(uint64(offset)) } if query.Count > 0 { - q = q.Limit(uint64(query.Count)) + q = q.Limit(uint64(query.Count)) //nolint: gosec // no overflow occurs } var (