pulumi/pkg/resource/deploy/providers
Abhinav Gupta f9458a3510
sdk/workspace/pluginDownloader: Re-use util/retry
The retry logic wants to make at most 5 attempts
(that's what the "limit" says)
but it actually makes 6 requests.

This fixes the off-by-one error
by switching to the re-usable util/retry package
instead of re-implementing retries here.

As with util/retry.Retryer,
pluginDownloader allows overriding time.After from tests,
so that we don't sleep in tests.
2023-03-24 18:11:40 -07:00
..
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
provider.go pkg/resource: Prefer Assertf in some subpackages 2023-02-21 15:13:48 -08:00
provider_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
reference.go pkg/resource: Prefer Assertf in some subpackages 2023-02-21 15:13:48 -08:00
reference_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
registry.go Move automatic plugin-install to engine 2023-03-20 23:41:07 +00:00
registry_test.go sdk/workspace/pluginDownloader: Re-use util/retry 2023-03-24 18:11:40 -07:00