diff --git a/pkg/conf/paladin/file.go b/pkg/conf/paladin/file.go index 0995cf227..100a718c3 100644 --- a/pkg/conf/paladin/file.go +++ b/pkg/conf/paladin/file.go @@ -167,7 +167,7 @@ func loadValues(base string) (map[string]*Value, error) { return nil, fmt.Errorf("paladin: read dir %s error: %s", base, err) } for _, file := range files { - if !file.IsDir() { + if !file.IsDir() && (file.Mode()&os.ModeSymlink) != os.ModeSymlink { paths = append(paths, path.Join(base, file.Name())) } }