Skip to content

Commit

Permalink
run RunDBChecker as goroutine
Browse files Browse the repository at this point in the history
when the ovn-dbchecker was receiving a SIGTERM it would
catch it, but the channel never closed so it never
quits.

Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
  • Loading branch information
jluhrsen committed Nov 5, 2021
1 parent 818dac4 commit d7aa7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-controller/cmd/ovndbchecker/ovndbchecker.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func runOvnKubeDBChecker(ctx *cli.Context) error {
}

stopChan := make(chan struct{})
ovndbmanager.RunDBChecker(
go ovndbmanager.RunDBChecker(
&kube.Kube{
KClient: ovnClientset.KubeClient,
EIPClient: ovnClientset.EgressIPClient,
Expand Down

0 comments on commit d7aa7e1

Please sign in to comment.