mirror of https://github.com/pulumi/pulumi.git
f9458a3510
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. |
||
---|---|---|
.. | ||
config.go | ||
creds.go | ||
creds_test.go | ||
loaders.go | ||
paths.go | ||
paths_test.go | ||
plugins.go | ||
plugins_install_nodejs_test.go | ||
plugins_install_python_test.go | ||
plugins_install_test.go | ||
plugins_test.go | ||
project.go | ||
project.json | ||
project_test.go | ||
settings.go | ||
templates.go | ||
templates_test.go | ||
workspace.go |