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:
parent
bdeb172a7e
commit
111ffdf753
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package main
|
||||
package breaker
|
||||
|
||||
import (
|
||||
"context"
|
Loading…
Add table
Reference in a new issue