Skip to content

Commit e56860b

Browse files
committed
remove unsupported ignore paths
Signed-off-by: Tomasz Janiszewski <[email protected]>
1 parent 08adc74 commit e56860b

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
@@ -327,7 +327,7 @@ func normalizeDirectoryPaths(renderedFiles map[string]string) map[string]string
327327
return normalizedFiles
328328
}
329329

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

0 commit comments

Comments
 (0)