9d85be1a99
This commit replaces `os.Setenv` with `t.Setenv` in tests. The environment variable is automatically restored to its original value when the test and all its subtests complete. Reference: https://pkg.go.dev/testing#T.Setenv Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> |
||
---|---|---|
.. | ||
addons.go | ||
addons_autopause.go | ||
addons_gcpauth.go | ||
addons_storage_classes.go | ||
addons_test.go | ||
config.go | ||
kubectl.go | ||
kubectl_test.go | ||
validations.go | ||
validations_test.go |