mirror of https://github.com/k3s-io/k3s
Merge pull request #33282 from guangxuli/k8s_0922_03
Automatic merge from submit-queue remove the tmp filepull/6/head
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