fixes resetting os env after test run

Signed-off-by: Ken Sipe <kensipe@gmail.com>
pull/6274/head
Ken Sipe 5 years ago
parent aaf24e0658
commit c839363f16
No known key found for this signature in database
GPG Key ID: 564882A82432498D

@ -106,8 +106,8 @@ func TestEnvSettings(t *testing.T) {
"HELM_TLS_ENABLE": "",
}
resetEnv(allEnvvars)
defer resetEnv(allEnvvars)
reset := resetEnv(allEnvvars)
defer reset()
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {

Loading…
Cancel
Save