Skip to content

Commit

Permalink
Cleanup - remove temporary files
Browse files Browse the repository at this point in the history
  • Loading branch information
damyan committed Sep 16, 2024
1 parent 7ec7ce6 commit a9de1ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/metal/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ var _ = Describe("Endpoint", func() {
fmt.Println("Error creating file:", err)
return
}
defer os.Remove(malformedJson)
defer file.Close()

// Encode the map as JSON and write it to the file
Expand Down

0 comments on commit a9de1ce

Please sign in to comment.