mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-30 01:46:23 +00:00
Add test coverage to gitloader.
This commit is contained in:
@@ -25,7 +25,9 @@ import (
|
||||
// NewLoader returns a Loader.
|
||||
func NewLoader(root string, fSys fs.FileSystem) (ifc.Loader, error) {
|
||||
if isRepoUrl(root) {
|
||||
return newGithubLoader(root, fSys)
|
||||
return newGitLoader(
|
||||
root, fSys, []string{}, hashicorpGitCloner)
|
||||
}
|
||||
return newFileLoaderAt(fSys, root)
|
||||
return newFileLoaderAt(
|
||||
root, fSys, []string{}, hashicorpGitCloner)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user