Files
moby/daemon/logger
Eng Zer Jun 36049a04d2 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-04-23 17:44:16 +08:00
..
2019-09-18 12:56:54 +02:00
2019-06-07 11:54:45 +01:00
2018-02-05 16:51:57 -05:00