diff --git a/ocis-pkg/config/helpers.go b/ocis-pkg/config/helpers.go index 175c0b6a1e..40e3e7471b 100644 --- a/ocis-pkg/config/helpers.go +++ b/ocis-pkg/config/helpers.go @@ -33,9 +33,9 @@ func DefaultConfigSources(filename string, drivers []string) []string { var sources []string for i := range defaultLocations { - _fs := os.DirFS(defaultLocations[i]) + dirFS := os.DirFS(defaultLocations[i]) pattern := filename + ".*" - matched, _ := fs.Glob(_fs, pattern) + matched, _ := fs.Glob(dirFS, pattern) if len(matched) > 0 { // prepend path to results for j := 0; j < len(matched); j++ {