mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
Remove error return from constructor.
This commit is contained in:
@@ -41,7 +41,7 @@ func DefaultSrcRoot() (string, error) {
|
||||
}
|
||||
nope = append(nope, root)
|
||||
|
||||
root = pgmconfig.DefaultPluginConfig().AbsPluginHome
|
||||
root = pgmconfig.DefaultAbsPluginHome()
|
||||
if FileExists(root) {
|
||||
return root, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user