Skip to content

[parser/scenarios] defer yaml file closure #3451

[parser/scenarios] defer yaml file closure

[parser/scenarios] defer yaml file closure #3451

Triggered via pull request January 3, 2024 09:33
Status Failure
Total duration 10m 50s
Artifacts

go-tests-windows.yml

on: pull_request
Matrix: Build + tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Build + tests (1.21.5): pkg/parser/stage.go#L74
exitAfterDefer: log.Fatalf will exit, and `defer yamlFile.Close()` will not run (gocritic)
Build + tests (1.21.5): pkg/leakybucket/manager_load.go#L228
exitAfterDefer: log.Fatalf will exit, and `defer bucketConfigurationFile.Close()` will not run (gocritic)
Build + tests (1.21.5)
issues found