Skip to content

Commit a5d49ea

Browse files
committed
[SECCOMP-31582] - add different import
1 parent 921caef commit a5d49ea

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

cmd/postgres_exporter/server.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ import (
1919
"sync"
2020
"time"
2121

22+
_ "crypto/tls/fipsonly"
23+
2224
"github.com/blang/semver/v4"
2325
"github.com/go-kit/log/level"
2426
"github.com/prometheus/client_golang/prometheus"

collector/pg_replication.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ package collector
1616
import (
1717
"context"
1818

19-
_ "crypto/tls/fipsonly"
20-
2119
"github.com/prometheus/client_golang/prometheus"
2220
)
2321

config/config.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import (
1818
"os"
1919
"sync"
2020

21+
_ "crypto/tls/fipsonly"
22+
2123
"github.com/go-kit/log"
2224
"github.com/prometheus/client_golang/prometheus"
2325
"github.com/prometheus/client_golang/prometheus/promauto"

0 commit comments

Comments
 (0)