diff --git a/server/shared/configFetcher.go b/server/shared/configFetcher.go index d5c8a984f..be7694c34 100644 --- a/server/shared/configFetcher.go +++ b/server/shared/configFetcher.go @@ -119,7 +119,7 @@ func filterPipelineFiles(files []*remote.FileMeta) []*remote.FileMeta { var res []*remote.FileMeta for _, file := range files { - if strings.HasSuffix(file.Name, ".yml") || strings.HasSuffix(file.Name, ".yaml") { + if strings.HasSuffix(file.Name, ".yml") { res = append(res, file) } }