Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
use blank identifier for unused ctx variable
  • Loading branch information
cherylfbrown committed Jun 18, 2024
commit 19e19d655634fe4cd894b54f1ab257a9b6ea3295
2 changes: 1 addition & 1 deletion pkg/sinks/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func NewPrometheusSink(config *PrometheusConfig) (Sink, error) {
}, nil
}

func (o *PrometheusSink) Send(ctx context.Context, ev *kube.EnhancedEvent) error {
func (o *PrometheusSink) Send(_ context.Context, ev *kube.EnhancedEvent) error {
kind := ev.InvolvedObject.Kind
if slices.Contains(o.kinds, kind) {
for _, reason := range o.cfg.ReasonFilter[kind] {
Expand Down