Skip to content

Commit

Permalink
Change log to fatal if broadcaster is not ready and ignore comma in e…
Browse files Browse the repository at this point in the history
…nv var for flags (#165)
  • Loading branch information
leszko authored Jun 14, 2022
1 parent 6c4c022 commit f4e2ef6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/orch-tester/orch_tester.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func main() {
ff.WithConfigFileFlag("config"),
ff.WithEnvVarPrefix("OT"),
ff.WithConfigFileParser(ff.PlainParser),
ff.WithEnvVarIgnoreCommas(true),
)
vFlag.Value.Set(*verbosity)

Expand Down Expand Up @@ -342,7 +343,7 @@ func waitUntilBroadcasterIsReady(ctx context.Context, bcastHost string) {
for {
select {
case <-rCtx.Done():
glog.Error("Waiting for broadcaster timed out")
glog.Fatal("Waiting for broadcaster timed out")
return
case <-ticker.C:
resp, err := http.Get(statusEndpoint)
Expand Down

0 comments on commit f4e2ef6

Please sign in to comment.