1
0
Fork 0
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:
Charles-Edouard Brétéché 2023-05-10 14:23:08 +02:00 committed by GitHub
parent a191fa567d
commit 6d4ea2240f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -308,5 +308,6 @@ func main() {
os.Exit(1)
}
le.Run(ctx)
sdown()
wg.Wait()
}