diff --git a/pkg/clustermesh/config.go b/pkg/clustermesh/config.go index 104a902464b8..c7dc86d83cbd 100644 --- a/pkg/clustermesh/config.go +++ b/pkg/clustermesh/config.go @@ -80,7 +80,7 @@ func (cdw *configDirectoryWatcher) watch() error { // lrwxrwxrwx. 1 root root 12 Jul 21 16:32 test7 -> ..data/test7 // // Ignore all backing files and only read the symlinks - if strings.HasPrefix(f.Name(), "..") { + if strings.HasPrefix(f.Name(), "..") || f.IsDir() { continue }