Skip to content

Commit

Permalink
Fix Missing parameter on labels function (#809)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
  • Loading branch information
yuriolisa authored Apr 6, 2022
1 parent 0dce2df commit b462d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/collector/reconcile/opentelemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func updateScaleSubResourceStatus(ctx context.Context, cli client.Client, change
name := naming.Collector(*changed)

// Set the scale selector
labels := collector.Labels(*changed)
labels := collector.Labels(*changed, []string{})
labels["app.kubernetes.io/name"] = name
selector, err := metav1.LabelSelectorAsSelector(&metav1.LabelSelector{MatchLabels: labels})
if err != nil {
Expand Down

0 comments on commit b462d0d

Please sign in to comment.