Skip to content

Commit 57a14a3

Browse files
committed
remove unsupported ignore paths
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
1 parent 3ed89ea commit 57a14a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/lintcontext/create_contexts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ fileOrDirsLoop:
136136
}
137137
ctx := newCtx(options)
138138
contextsByDir[currentPath] = ctx
139-
if err := ctx.loadObjectsFromKustomize(currentPath, ignorePaths); err != nil {
139+
if err := ctx.loadObjectsFromKustomize(currentPath); err != nil {
140140
return fmt.Errorf("loading kustomization: %w", err)
141141
}
142142
return filepath.SkipDir

pkg/lintcontext/parse_yaml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ func normalizeDirectoryPaths(renderedFiles map[string]string) map[string]string
315315
return normalizedFiles
316316
}
317317

318-
func (l *lintContextImpl) loadObjectsFromKustomize(dir string, ignorePaths []string) error {
318+
func (l *lintContextImpl) loadObjectsFromKustomize(dir string) error {
319319
// Create a kustomize engine with source annotations enabled
320320
e, err := engine.Kustomize(kustomize.Source{
321321
Path: dir,

0 commit comments

Comments
 (0)