Skip to content

Commit df43c9f

Browse files
authored
If no pods are selected for log collector, do not wait for timeout (#932)
Fixes: #931
1 parent ebeed77 commit df43c9f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/collect/logs.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ func (c *CollectLogs) Collect(progressChan chan<- interface{}) (CollectorResult,
117117
}
118118
}
119119
}
120+
} else {
121+
resultCh <- output
120122
}
121123
}()
122124

0 commit comments

Comments
 (0)