We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 635f9cf commit 300ab2eCopy full SHA for 300ab2e
bundle/deployplan/plan.go
@@ -41,6 +41,7 @@ func LoadPlanFromFile(path string) (*Plan, error) {
41
if err != nil {
42
return nil, fmt.Errorf("reading plan file: %w", err)
43
}
44
+ defer file.Close()
45
var plan Plan
46
decoder := json.NewDecoder(file)
47
decoder.DisallowUnknownFields()
0 commit comments