457ffe884a
cleanup: address golangci 'usetesting' linter issues
...
When a context.Context is needed in a unit test, t.Context() should be
used instead of creating a new one with context.TODO() or
context.Background().
Signed-off-by: Niels de Vos <ndevos@ibm.com >
2025-05-06 11:26:06 +00:00
4b7cafe821
util: address golangci-lint issues
...
address golangci-lint issues in utils
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2024-04-09 06:55:23 +00:00
e345b26340
cleanup: refactor functions to accept a context parameter
...
Signed-off-by: Praveen M <m.praveen@ibm.com >
2024-03-12 13:54:19 +00:00
624905d60d
kms: Add basic GetSecret() test
...
Add rudimentary test to ensure that we can get a valid passphrase from
the GetSecret() feature
Signed-off-by: Marcel Lauhoff <marcel.lauhoff@suse.com >
2022-10-17 17:33:52 +00:00