From 24b336331094c345f7fbe9fa85618f2d472fb5d8 Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Tue, 2 Nov 2021 14:50:31 +0100 Subject: [PATCH] rename _fs -> dirFS --- ocis-pkg/config/helpers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++ {