Appease linter

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
This commit is contained in:
Christopher Crone 2020-05-18 15:12:52 +02:00
parent ee4ffcb5f4
commit 7e81f9e147
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ var contextSetConfig = []byte(`{
func TestDetermineCurrentContext(t *testing.T) {
d, err := ioutil.TempDir("", "")
// nolint errcheck
defer os.RemoveAll(d)
require.NoError(t, err)
err = ioutil.WriteFile(filepath.Join(d, config.ConfigFileName), contextSetConfig, 0644)