-
Notifications
You must be signed in to change notification settings - Fork 601
Closed
Labels
Description
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 in
go-containerregistry/pkg/v1/remote/options.go
Line 165 in a927d7c
| o.transport = transport.NewRetry(o.transport, transport.WithRetryPredicate(defaultRetryPredicate), transport.WithRetryStatusCodes(o.retryStatusCodes...)) |
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.
- Version of the module
- Registry used (e.g., GCR, ECR, Quay)