Skip to content

Commit

Permalink
If no pods are selected for log collector, do not wait for timeout (#932
Browse files Browse the repository at this point in the history
)

Fixes: #931
  • Loading branch information
xavpaice authored Dec 28, 2022
1 parent ebeed77 commit df43c9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/collect/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ func (c *CollectLogs) Collect(progressChan chan<- interface{}) (CollectorResult,
}
}
}
} else {
resultCh <- output
}
}()

Expand Down

0 comments on commit df43c9f

Please sign in to comment.