Fix some Go nits.

This commit is contained in:
jregan
2018-09-28 18:02:07 -07:00
parent 8f903b6e3f
commit 6d935b6a4a
10 changed files with 32 additions and 32 deletions

View File

@@ -156,7 +156,7 @@ func (m ResMap) FilterBy(inputId resource.ResId) ResMap {
// NewResourceSliceFromPatches returns a slice of resources given a patch path slice from a kustomization file.
func NewResourceSliceFromPatches(
loader loader.Loader, paths []patch.PatchStrategicMerge) ([]*resource.Resource, error) {
loader loader.Loader, paths []patch.StrategicMerge) ([]*resource.Resource, error) {
var result []*resource.Resource
for _, path := range paths {
content, err := loader.Load(string(path))