mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-30 18:01:21 +00:00
Fix for FakeLoader to add new Root() method in Loader interface
This commit is contained in:
@@ -21,6 +21,10 @@ type FakeLoader struct {
|
||||
Content string
|
||||
}
|
||||
|
||||
func (f FakeLoader) Root() string {
|
||||
return "/fake/root"
|
||||
}
|
||||
|
||||
func (f FakeLoader) New(root string) (Loader, error) {
|
||||
return f, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user