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:
parent
9e933e8d21
commit
a62a0c1f9f
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue