mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
fix: let reports controller quit when loosing the lead (#7153)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
a191fa567d
commit
6d4ea2240f
1 changed files with 1 additions and 0 deletions
|
@ -308,5 +308,6 @@ func main() {
|
|||
os.Exit(1)
|
||||
}
|
||||
le.Run(ctx)
|
||||
sdown()
|
||||
wg.Wait()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue