Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Terry Howe <terrylhowe@gmail.com>
pull/31907/head
Terry Howe 1 week ago committed by GitHub
parent 47bde11959
commit c2fda5ac58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -242,9 +242,7 @@ users:
user:
token: test-token
`
if err := os.WriteFile(kubeconfigPath, []byte(kubeconfig), 0o600); err != nil {
t.Fatalf("failed to create test kubeconfig: %v", err)
}
require.NoError(t, os.WriteFile(kubeconfigPath, []byte(kubeconfig), 0o600), "failed to create test kubeconfig")
t.Setenv("KUBECONFIG", kubeconfigPath)
settings := New()

Loading…
Cancel
Save