-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ggcr: Pass retryBackoff to transport.NewRetry in the remote pkg #1692
Comments
@jonjohnsonjr @imjasonh Sorry for labelling this as a bug, it's really a question.
|
This seems reasonable to me. It sounds like it might even be an oversight? @jonjohnsonjr does that sound right to you? |
We can document better what it's for. |
@jonjohnsonjr does this mean the remote backoff isn't intended for configuring retries on the transport? If so, will you consider adding an option that is? Configuring a new transport when you only want to modify a backoff means copying some parts of the code in crane (like the default predicate and some other parts from the internal retry package) and isn't the best experience |
This issue is stale because it has been open for 90 days with no |
Describe the feature
Not a bug report but a feature request.
It would be great if the
remote.BackOff
set in options gets passed now to the created transport ingo-containerregistry/pkg/v1/remote/options.go
Line 165 in a927d7c
This would enable people to configure some parts of the retry operation without providing our own transport.
To Reproduce
Expected behavior
The retry transport is created with the
remote.BackOff
set in option.Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: