pulumi/pkg/backend/httpstate/client
Abhinav Gupta 1d7db547f4
{cli, httpstate}: Don't retry GetCLIVersionInfo
Changes the httpstate client to not retry requests to
`GET /api/cli/version` so as not to block the CLI for 7 seconds
in airgapped environments and the like.

Testing:
Before this change, the accompanying test took 7 seconds to fail.
With this change, it succeeds nearly instantly.

Resolves #13166
2023-06-20 10:08:33 -07:00
..
api.go httpstate/client: Support no retries 2023-06-20 10:08:20 -07:00
api_endpoints.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
api_test.go httpstate/client: Support no retries 2023-06-20 10:08:20 -07:00
client.go {cli, httpstate}: Don't retry GetCLIVersionInfo 2023-06-20 10:08:33 -07:00
client_test.go [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
marshal_post_1.20.go [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
marshal_pre_1.20.go [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00