From 51da1ed5ea4e0051f15506441952f02d0cf6f276 Mon Sep 17 00:00:00 2001 From: Ashley Dumaine Date: Thu, 7 Nov 2024 13:04:41 -0500 Subject: [PATCH] requeue unknown error after 10 seconds instead --- controller/linodemachine_controller_helpers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/linodemachine_controller_helpers.go b/controller/linodemachine_controller_helpers.go index fbdf7792..995400c1 100644 --- a/controller/linodemachine_controller_helpers.go +++ b/controller/linodemachine_controller_helpers.go @@ -68,8 +68,8 @@ func retryIfTransient(err error, logger logr.Logger) (ctrl.Result, error) { } return ctrl.Result{RequeueAfter: reconciler.DefaultMachineControllerRetryDelay}, nil } - logger.Error(err, "skipping requeue due to non-retryable error") - return ctrl.Result{Requeue: false}, err + logger.Error(err, "unknown Linode API error") + return ctrl.Result{RequeueAfter: reconciler.DefaultMachineControllerRetryDelay}, err } func fillCreateConfig(createConfig *linodego.InstanceCreateOptions, machineScope *scope.MachineScope) {