Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/controller/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -720,10 +720,10 @@ func (r *Reconciler) VerifyNetworkAttachments(
condition.NetworkAttachmentsReadyErrorMessage,
err.Error()))

return ctrl.Result{}, err
return ctrl.Result{RequeueAfter: time.Second * 10}, nil
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do think it is a good idea to re-queue, but I am concerned what will happen if the NAD is actually faulty. It seems it will re-queue forever without printing any error in the logs. How would you prevent this?

}

return ctrl.Result{}, nil
return ctrl.Result{}, err
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Returning an error here might mean that when the if networkReady conditions is true, the whole function will return an error, which is not something we want :D

}

// EnsureCloudsConfigMapExists ensures that frameworks like Tobiko and Horizon have password values
Expand Down
Loading