pulumi/sdk/go/common/resource/config
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
..
testdata/repr [config] Clean up implementation (#13814) 2023-10-09 04:51:21 +00:00
crypt.go [config] Clean up implementation (#13814) 2023-10-09 04:51:21 +00:00
key.go Enable finding Pulumi projects created from Templates (#15056) 2024-01-24 16:47:12 +00:00
key_test.go Use EqualError/ErrorContains instead of Error (#14737) 2023-12-08 06:40:14 +00:00
map.go [14573] Parse config paths strictly (#15173) 2024-01-19 10:51:27 +00:00
map_test.go [14573] Parse config paths strictly (#15173) 2024-01-19 10:51:27 +00:00
object.go [config] Clean up toDecryptedPropertyValue (#14562) 2023-11-16 17:55:14 +00:00
object_test.go [config] Clean up toDecryptedPropertyValue (#14562) 2023-11-16 17:55:14 +00:00
plaintext.go Prepare golangci-lint upgrade (#17065) 2024-08-28 07:57:38 +00:00
plaintext_test.go [config] Clean up implementation (#13814) 2023-10-09 04:51:21 +00:00
repr_test.go [config] Clean up implementation (#13814) 2023-10-09 04:51:21 +00:00
value.go [cli] Add support for environments (#14140) 2023-10-10 01:35:39 +00:00
value_test.go [config] Clean up implementation (#13814) 2023-10-09 04:51:21 +00:00