Skip to content

Commit

Permalink
remove podLabels from run function
Browse files Browse the repository at this point in the history
  • Loading branch information
diamonwiggins committed May 2, 2022
1 parent 4290240 commit dfe5538
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/collect/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ import (
)

func Run(c *Collector, runCollector *troubleshootv1beta2.Run) (CollectorResult, error) {
podLabels := make(map[string]string)
podLabels["troubleshoot-role"] = "run-collector"

pullPolicy := corev1.PullIfNotPresent
if runCollector.ImagePullPolicy != "" {
pullPolicy = corev1.PullPolicy(runCollector.ImagePullPolicy)
Expand Down

0 comments on commit dfe5538

Please sign in to comment.