From 677eac20d2ee34120c03d3b9834847b4c36db11f Mon Sep 17 00:00:00 2001 From: Maciek Sakrejda Date: Fri, 30 Aug 2024 08:35:52 -0700 Subject: [PATCH] Fix hang for --discover-log-location flag (#592) This was missed in #384. --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 505b50852..ff22663c2 100644 --- a/main.go +++ b/main.go @@ -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 }