Skip to content

Commit

Permalink
TEST Snyk
Browse files Browse the repository at this point in the history
  • Loading branch information
Valery Mogilevsky committed Jul 14, 2024
1 parent e1d831f commit 383a753
Show file tree
Hide file tree
Showing 3 changed files with 689 additions and 3,985 deletions.
2 changes: 2 additions & 0 deletions controllers/rhmi/rhmi_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ func New(mgr ctrl.Manager) *RHMIReconciler {
// +kubebuilder:rbac:groups=apps.openshift.io,resources=deploymentconfigs/instantiate,verbs=create

func (r *RHMIReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error) {

fmt.Println("############### TEST SNYK; TODO - DELETEME ########################\n")
reconcileDelayedMetric := metrics.InstallationControllerReconcileDelayed
reconcileDelayedMetric.Set(0) // reset on every reconcile to prevent alert from firing continuously
timer := time.AfterFunc(time.Minute*30, func() {
Expand Down
Loading

0 comments on commit 383a753

Please sign in to comment.