1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-15 08:46:36 +00:00

fix(refactor): move breaker resource counter to pkg (#11271)

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
This commit is contained in:
Vishal Choudhary 2024-09-30 20:23:54 +05:30 committed by GitHub
parent bdeb172a7e
commit 111ffdf753
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -547,7 +547,7 @@ func main() {
backgroundServiceAccountName,
reportsServiceAccountName,
)
ephrs, err := StartAdmissionReportsCounter(signalCtx, setup.MetadataClient)
ephrs, err := breaker.StartAdmissionReportsCounter(signalCtx, setup.MetadataClient)
if err != nil {
setup.Logger.Error(err, "failed to start admission reports watcher")
os.Exit(1)

View file

@ -1,4 +1,4 @@
package main
package breaker
import (
"context"