pulumi/pkg/engine
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
..
lifecycletest Refactor transformation tests and add Go test (#14851) 2023-12-16 14:06:27 +00:00
deployment.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
deployment_test.go Add tokens.StackName (#14487) 2023-11-15 07:44:54 +00:00
destroy.go Make `engine.NewEvent` type safe (#14590) 2023-11-16 16:54:03 +00:00
detailedDiff.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
detailedDiff_test.go [display] Refactor diff translation and display. (#9363) 2022-04-07 12:05:33 -07:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
engine.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
errors.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
events.go Send all events to the engine event stream (#14607) 2023-11-20 21:55:59 +00:00
events_test.go Do not panic when sending events to closed emitter (#10489) 2022-08-25 12:43:10 -04:00
eventsink.go chore: WriteString(Sprintf(..)) => Fprintf(..) 2023-03-01 13:22:33 -08:00
import.go Make `engine.NewEvent` type safe (#14590) 2023-11-16 16:54:03 +00:00
journal.go Fix engine.Journal to not write out skipped creates 2023-07-21 16:26:40 +01:00
plugin_host.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
plugins.go Move language check from installPlugin to installPlugins (#14103) 2023-10-07 18:31:44 +00:00
plugins_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
project.go Update error handling (#8406) 2021-11-12 18:37:17 -08:00
query.go Make `engine.NewEvent` type safe (#14590) 2023-11-16 16:54:03 +00:00
refresh.go Make `engine.NewEvent` type safe (#14590) 2023-11-16 16:54:03 +00:00
snapshot.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
update.go Send all events to the engine event stream (#14607) 2023-11-20 21:55:59 +00:00
update_test.go Policy remediations feature (#14080) 2023-10-09 18:31:17 +00:00