Skip to content

Commit

Permalink
fix: close pairsFile (#1128)
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill authored May 6, 2024
1 parent 0e9fac7 commit 8a35f02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func (hf *Hoverfly) ImportFromDisk(path string) error {
if err != nil {
return fmt.Errorf("Got error while opening payloads file, error %s", err.Error())
}
defer pairsFile.Close()

var simulation v2.SimulationViewV5

Expand Down

0 comments on commit 8a35f02

Please sign in to comment.