fix controller Start method signature
Signed-off-by: Roland.Ma <rolandma@yunify.com>
This commit is contained in:
@@ -54,7 +54,7 @@ const (
|
||||
appFinalizer = "helmapplication.application.kubesphere.io"
|
||||
)
|
||||
|
||||
func (r *ReconcileHelmApplication) Reconcile(request reconcile.Request) (reconcile.Result, error) {
|
||||
func (r *ReconcileHelmApplication) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error) {
|
||||
klog.V(4).Infof("sync helm application: %s ", request.String())
|
||||
|
||||
rootCtx := context.Background()
|
||||
|
||||
@@ -49,7 +49,7 @@ type ReconcileHelmApplicationVersion struct {
|
||||
|
||||
// Reconcile reads that state of the cluster for a helmapplicationversions object and makes changes based on the state read
|
||||
// and what is in the helmapplicationversions.Spec
|
||||
func (r *ReconcileHelmApplicationVersion) Reconcile(request reconcile.Request) (reconcile.Result, error) {
|
||||
func (r *ReconcileHelmApplicationVersion) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error) {
|
||||
start := time.Now()
|
||||
klog.V(4).Infof("sync helm application version: %s", request.String())
|
||||
defer func() {
|
||||
|
||||
Reference in New Issue
Block a user