feat: refactor deployment config (#6347)

This commit is contained in:
Ammar Bandukwala
2023-03-07 15:10:01 -06:00
committed by GitHub
parent bb0a996fc2
commit 3b73321a6c
102 changed files with 5643 additions and 6682 deletions
+6
View File
@@ -22,6 +22,12 @@ func TempFile(t *testing.T, dir, pattern string) string {
err = os.Remove(name)
require.NoError(t, err, "remove temp file")
t.Cleanup(func() {
// The test might have created created and it may have already removed it,
// so we ignore the error.
_ = os.Remove(name)
})
return name
}