Commit 0b048906 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #33282 from guangxuli/k8s_0922_03

Automatic merge from submit-queue remove the tmp file
parents cd918a9f a68812d9
......@@ -83,8 +83,9 @@ func TestJwtProvider(t *testing.T) {
if err != nil {
t.Fatalf("Error creating temp file: %v", err)
}
filename := file.Name()
defer os.Remove(filename)
_, err = file.WriteString(jsonKey)
if err != nil {
t.Fatalf("Error writing temp file: %v", err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment