Skip to content

Commit

Permalink
Fix hang for --discover-log-location flag (#592)
Browse files Browse the repository at this point in the history
This was missed in #384.
  • Loading branch information
msakrejda authored Aug 30, 2024
1 parent 6ea5a56 commit 677eac2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ func run(ctx context.Context, wg *sync.WaitGroup, globalCollectionOpts state.Col

if globalCollectionOpts.DiscoverLogLocation {
selfhosted.DiscoverLogLocation(ctx, servers, globalCollectionOpts, logger)
testRunSuccess = make(chan bool, 1)
testRunSuccess <- true
return
}

Expand Down

0 comments on commit 677eac2

Please sign in to comment.