1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

fix: probes should work in debug mode (#4926)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Prateek Pandey <prateek.pandey@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2022-10-13 16:40:35 +02:00 committed by GitHub
parent 9e933e8d21
commit a62a0c1f9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,11 +54,11 @@ func (c *runtime) IsDebug() bool {
}
func (c *runtime) IsLive() bool {
return c.IsDebug() || c.check()
return c.check()
}
func (c *runtime) IsReady() bool {
return c.IsDebug() || c.check()
return c.check()
}
func (c *runtime) IsRollingUpdate() bool {