pulumi/pkg/util
Julien 7e2ccd8757
Prepare golangci-lint upgrade (#17065)
The latest version of golangci-lint (1.60.3) flags a bunch of new issues
in our code base. This PR addresses part of them ahead of the upgrade.

* A dynamic string passed to printf style functions as first argument,
this can lead to bad `%` interpolations. The fix is typically to use
`"%s"` as first argument and pass the dynamic string as 2nd argument.
* Using `os.ModePerm` in tests instead of more restricted file
permissions. The fix is to use 0o600 for files, or 0o700 for
directories.
* Int conversion overflows. The fix has to be done case by case,
checking that no overflow can occur.
2024-08-28 07:57:38 +00:00
..
afero Fix convert pcl copy 2023-04-14 22:04:50 +01:00
cancel all: Assert => Assertf 2023-03-03 14:37:43 -08:00
gsync Use a generic wrapper around `sync.Map` (#15878) 2024-04-09 10:56:25 +00:00
rpcdebug Remove deprecated Protobufs imports (#15158) 2024-01-17 09:35:20 +00:00
testutil all: Drop ioutil 2023-01-06 16:35:14 -08:00
tracing Prepare golangci-lint upgrade (#17065) 2024-08-28 07:57:38 +00:00
validation Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
plugin.go [cli/plugin] Fix plugin install command when plugin type is tool (#16407) 2024-06-17 13:25:57 +00:00
plugin_test.go Refactor: move plugin kind to apitype (#15946) 2024-04-25 17:30:30 +00:00