We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a136679 commit a6a5fc9Copy full SHA for a6a5fc9
1 file changed
pkg/config/sources.go
@@ -55,6 +55,7 @@ func (a fileSource) Read(context.Context) ([]byte, error) {
55
if err != nil {
56
return nil, fmt.Errorf("opening filesystem %s: %w", parentDir, err)
57
}
58
+ defer fs.Close()
59
60
fileName := filepath.Base(a.path)
61
data, err := fs.ReadFile(fileName)
0 commit comments