Skip to content

Commit fea2bb5

Browse files
committed
add strictfipsruntime flags to fix the warning - go binary has no build tags set
Signed-off-by: clyang82 <[email protected]>
1 parent 4c8f11d commit fea2bb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.promu.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ build:
88
binaries:
99
- name: postgres_exporter
1010
path: ./cmd/postgres_exporter
11+
flags: -a -tags strictfipsruntime
1112
ldflags: |
1213
-X github.com/prometheus/common/version.Version={{.Version}}
1314
-X github.com/prometheus/common/version.Revision={{.Revision}}

0 commit comments

Comments
 (0)