Skip to content

Commit

Permalink
Fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
axw committed Nov 16, 2021
1 parent a91ba22 commit ae0b3bd
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions beater/beater.go
Original file line number Diff line number Diff line change
Expand Up @@ -582,12 +582,9 @@ func (s *serverRunner) waitReady(ctx context.Context, kibanaClient kibana.Client
)
})
}

if s.config.DataStreams.Enabled {
preconditions = append(preconditions, func(ctx context.Context) error {
return queryClusterUUID(ctx, esOutputClient)
})
}
preconditions = append(preconditions, func(ctx context.Context) error {
return queryClusterUUID(ctx, esOutputClient)
})
}

// When running standalone with data streams enabled, by default we will add
Expand Down

0 comments on commit ae0b3bd

Please sign in to comment.