From 954c35683373727dde76a5b845163f5f37416518 Mon Sep 17 00:00:00 2001 From: rbajollari Date: Thu, 28 Mar 2024 15:45:57 -0400 Subject: [PATCH] err lint --- config/load.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/load.go b/config/load.go index b95e614d..a1a1c0de 100644 --- a/config/load.go +++ b/config/load.go @@ -32,7 +32,7 @@ func LoadConfigFromFlags(nodeConfigPath, dirPrefix string) (Config, error) { // filesInFolder returns a slice of all file paths in a given folder. func filesInFolder(folder string) ([]string, error) { var files []string - err := filepath.Walk(folder, func(path string, info os.FileInfo, err error) error { + err := filepath.Walk(folder, func(path string, info os.FileInfo, _ error) error { if info != nil && !info.IsDir() { files = append(files, path) }