Skip to content

Commit

Permalink
Reconciler fix (#87)
Browse files Browse the repository at this point in the history
* reconciler-fix
* Merge branch 'master' of github.com:solo-io/skv2 into reconciler-fix
  • Loading branch information
EItanya authored Jun 30, 2020
1 parent 78b432b commit 673b113
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/codegen/templates/input/input_reconciler.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (r *multiClusterReconcilerImpl) Reconcile{{ $resource.Kind }}(clusterName s
return reconcile.Result{}, r.reconcileFunc(clusterName)
}

func (r *multiClusterReconcilerImpl) Reconcile{{ $resource.Kind }}Deletion(clusterName string, req reconcile.Request) error {
func (r *multiClusterReconcilerImpl) Reconcile{{ $resource.Kind }}Deletion(clusterName string, obj reconcile.Request) error {
contextutils.LoggerFrom(r.ctx).Debugw("reconciling event", "cluster", clusterName, "obj", obj)
return r.reconcileFunc(clusterName)
}
Expand All @@ -114,7 +114,7 @@ var _ singleClusterReconciler = &singleClusterReconcilerImpl{}

type singleClusterReconcilerImpl struct {
ctx context.Context
reconcileFunc func(metav1.Object) error
reconcileFunc func() error
}

// register the reconcile func with the manager
Expand Down

0 comments on commit 673b113

Please sign in to comment.