Skip to content

Commit

Permalink
Fix components' setup (milvus-io#26182)
Browse files Browse the repository at this point in the history
Signed-off-by: longjiquan <[email protected]>
  • Loading branch information
longjiquan authored Aug 9, 2023
1 parent 6472a50 commit fb5d809
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/roles/roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ func runComponent[T component](ctx context.Context,
panic(err)
}
wg.Done()
_ = role.Run()
if err := role.Run(); err != nil {
panic(err)
}
runWg.Done()
}()
wg.Wait()
Expand Down

0 comments on commit fb5d809

Please sign in to comment.