Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Coleen Iona Quadros <[email protected]>
  • Loading branch information
coleenquadros committed Feb 21, 2024
1 parent 95a4f77 commit 0d25eba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion collectors/metrics/pkg/metricsclient/metricsclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,6 @@ func (c *Client) RemoteWrite(ctx context.Context, req *http.Request,
halfInterval = 2
}
b.MaxElapsedTime = interval / time.Duration(halfInterval)
logger.Log(c.logger, logger.Warn, "msg", "start to send", "request", req.URL.String())
retryable := func() error {
return c.sendRequest(req.URL.String(), compressed)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ func getHubEndpointOperatorPredicates() predicate.Funcs {
}
}

//nolint:unparam
func getPred(name string, namespace string,
create bool, update bool, delete bool) predicate.Funcs {
createFunc := func(e event.CreateEvent) bool {
Expand Down

0 comments on commit 0d25eba

Please sign in to comment.