Skip to content

Commit

Permalink
[SECCOMP-31582] - remove promu
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbxbx committed Dec 13, 2024
1 parent a5d49ea commit 29da614
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ common-unused:
common-build: promu
@echo ">> building binaries"
@env
CGO_ENABLED=1 GOEXPERIMENT=boringcrypto $(PROMU) build --prefix $(PREFIX) $(PROMU_BINARIES)
CGO_ENABLED=1 GOEXPERIMENT=boringcrypto go build -o postgres_exporter .

.PHONY: common-tarball
common-tarball: promu
Expand Down
2 changes: 0 additions & 2 deletions cmd/postgres_exporter/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ 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 config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ 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 29da614

Please sign in to comment.