pulumi/pkg/backend/httpstate/client
Fraser Waters 3560333ae6
Clean up uses of .Error() (#14965)
Combination of a few cleanups.

1. Don't call .Error() on errors that are being passed to "%s" format
functions. Format will call `Error()` itself.
2. Don't call assert.Error then assert.Equal/Contains, just use
assert.ErrorEqual/ErrorContains instead.
3. Use "%w" if appropriate, instead of "%v"/"%s".
2023-12-20 15:54:06 +00:00
..
api.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
api_endpoints.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
api_test.go httpstate/client: Support no retries 2023-06-20 10:08:20 -07:00
client.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
client_test.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00: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