mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
fix: print out errors (#11218)
Signed-off-by: ShutingZhao <shuting@nirmata.com>
This commit is contained in:
parent
9541608182
commit
db88e2de17
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@ func main() {
|
|||
)
|
||||
ephrs, err := StartAdmissionReportsCounter(signalCtx, setup.MetadataClient)
|
||||
if err != nil {
|
||||
setup.Logger.Error(errors.New("failed to start admission reports watcher"), "failed to start admission reports watcher")
|
||||
setup.Logger.Error(err, "failed to start admission reports watcher")
|
||||
os.Exit(1)
|
||||
}
|
||||
reportsBreaker := breaker.NewBreaker("admission reports", func(context.Context) bool {
|
||||
|
|
Loading…
Reference in a new issue