Skip to content

Commit 5936a89

Browse files
committed
fix imports after rebase
1 parent c3a4f3e commit 5936a89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kustomize/commands/create/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func runCreate(opts createFlags, fSys filesys.FileSystem, rf *resource.Factory)
9999
var resources []string
100100
var err error
101101
if opts.resources != "" {
102-
resources, err = util.GlobPatternsWithLoader(fSys, loader.NewFileLoaderAtCwd(fSys), strings.Split(opts.resources, ","), false)
102+
resources, err = util.GlobPatternsWithLoader(fSys, ldrhelper.NewFileLoaderAtCwd(fSys), strings.Split(opts.resources, ","), false)
103103
if err != nil {
104104
return err
105105
}

kustomize/commands/edit/add/addresource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func (o *addResourceOptions) Validate(args []string) error {
5353

5454
// RunAddResource runs addResource command (do real work).
5555
func (o *addResourceOptions) RunAddResource(fSys filesys.FileSystem) error {
56-
resources, err := util.GlobPatternsWithLoader(fSys, loader.NewFileLoaderAtCwd(fSys), o.resourceFilePaths, o.skipValidation)
56+
resources, err := util.GlobPatternsWithLoader(fSys, ldrhelper.NewFileLoaderAtCwd(fSys), o.resourceFilePaths, o.skipValidation)
5757
if err != nil {
5858
return err
5959
}

0 commit comments

Comments
 (0)