Files
my-rook-config/pkg/daemon/util
Eng Zer Jun 8a25b1d903 test: use T.Setenv to set env vars in tests
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>
2022-07-15 23:07:19 +08:00
..
2021-09-27 10:54:16 +02:00
2021-09-27 10:54:16 +02:00
2022-04-04 20:59:31 +05:30