summaryrefslogtreecommitdiff
path: root/internal/db
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-10-23 14:07:31 +0200
committerLibravatar GitHub <noreply@github.com>2023-10-23 13:07:31 +0100
commit013a17f5e8ffb748a2441d1acf575dc5e36c232f (patch)
treea5b85292f21ca854857c26adc8fa164b464a42c3 /internal/db
parent[chore] de-interface{} the federator and dereferencer structs (#2285) (diff)
downloadgotosocial-013a17f5e8ffb748a2441d1acf575dc5e36c232f.tar.xz
[chore] bump go version -> 1.21.x (#2287)
* [chore] bump go version -> 1.21.x * versions * lint
Diffstat (limited to 'internal/db')
-rw-r--r--internal/db/bundb/bundb.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/db/bundb/bundb.go b/internal/db/bundb/bundb.go
index 64035dcad..819fba810 100644
--- a/internal/db/bundb/bundb.go
+++ b/internal/db/bundb/bundb.go
@@ -353,9 +353,8 @@ func deriveBunDBPGOptions() (*pgx.ConnConfig, error) {
case "", "disable":
break // nothing to do
case "enable":
- /* #nosec G402 */
tlsConfig = &tls.Config{
- InsecureSkipVerify: true,
+ InsecureSkipVerify: true, //nolint:gosec
}
case "require":
tlsConfig = &tls.Config{