pulumi/pkg/backend/httpstate
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
..
client Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
testdata [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
backend.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
backend_test.go Validate snapshots from service on load (#14046) 2023-12-04 15:12:56 +00:00
console.go Add support for a PULUMI_CONSOLE_DOMAIN env var (#4410) 2020-04-17 11:50:00 -07:00
console_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
diffs.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
diffs_post_1.20.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
diffs_pre_1.20.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
environments.go [cli] Include config from ESC in `pulumi config` (#14560) 2023-11-21 10:44:45 +00:00
policypack.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
snapshot.go Move SecretsManager from SnapshotPersister to SnapshotManager (#13976) 2023-09-19 18:31:56 +00:00
snapshot_test.go Add tokens.StackName (#14487) 2023-11-15 07:44:54 +00:00
stack.go Add --import-file to pulumi preview (#14548) 2023-12-05 08:32:40 +00:00
state.go Validate snapshots from service on load (#14046) 2023-12-04 15:12:56 +00:00
token_source.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
token_source_test.go Use context.Background in tests (#14029) 2023-09-25 12:25:26 +00:00