mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Merge pull request #33282 from guangxuli/k8s_0922_03
Automatic merge from submit-queue remove the tmp file
This commit is contained in:
commit
0b04890605
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user