Skip to content

Commit 957fdbf

Browse files
author
Ariel Kass
committed
retry supress
1 parent b487074 commit 957fdbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/prome/exporter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func RunExporter(restClients map[string]*rest.FSRestClient, namespace string) {
5454

5555
log.Info("Beginning to serve on port :9100")
5656
// #nosec
57-
if err = http.ListenAndServe(":9100", nil); err != nil { // #nosec G114 -- suppressing, but TODO in a future release, fix G114: Use of net/http serve function that has no support for setting timeouts (gosec)
57+
if err = http.ListenAndServe(":9100", nil); err != nil { //#nosec G114
5858
log.Error(err, "failed to start http server")
5959
panic(err)
6060
}

0 commit comments

Comments
 (0)