Skip to content

Commit dfe5538

Browse files
committed
remove podLabels from run function
1 parent 4290240 commit dfe5538

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/collect/run.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ import (
1616
)
1717

1818
func Run(c *Collector, runCollector *troubleshootv1beta2.Run) (CollectorResult, error) {
19-
podLabels := make(map[string]string)
20-
podLabels["troubleshoot-role"] = "run-collector"
21-
2219
pullPolicy := corev1.PullIfNotPresent
2320
if runCollector.ImagePullPolicy != "" {
2421
pullPolicy = corev1.PullPolicy(runCollector.ImagePullPolicy)

0 commit comments

Comments
 (0)