Files
odo/pkg/registry
Eng Zer Jun 53a733b04b test: use T.Setenv to set env vars in tests (#6037)
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>

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-19 12:32:06 +00:00
..
2022-05-16 13:45:22 +02:00
2022-05-16 13:45:22 +02:00
2022-05-16 13:45:22 +02:00