Skip to content

Commit 204abe9

Browse files
committed
skip dirs
1 parent e38648d commit 204abe9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/configreloader/configreloader.go

+3
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,9 @@ func (cfg *ConfigReloader) unarchiveDir(path string) error {
249249
}
250250

251251
for _, file := range files {
252+
if file.IsDir() {
253+
continue
254+
}
252255
fullFilePath := path + "/" + file.Name()
253256
isGzipArchive, err := isGzipArchive(fullFilePath)
254257

0 commit comments

Comments
 (0)