Skip to content

Commit

Permalink
[SECCOMP-31582] - add different import
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbxbx committed Dec 13, 2024
1 parent 921caef commit a5d49ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cmd/postgres_exporter/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ import (
"sync"
"time"

_ "crypto/tls/fipsonly"

"github.com/blang/semver/v4"
"github.com/go-kit/log/level"
"github.com/prometheus/client_golang/prometheus"
Expand Down
2 changes: 0 additions & 2 deletions collector/pg_replication.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ package collector
import (
"context"

_ "crypto/tls/fipsonly"

"github.com/prometheus/client_golang/prometheus"
)

Expand Down
2 changes: 2 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import (
"os"
"sync"

_ "crypto/tls/fipsonly"

"github.com/go-kit/log"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
Expand Down

0 comments on commit a5d49ea

Please sign in to comment.