Skip to content

Commit

Permalink
remove requirement for templates to have at least one associated rule
Browse files Browse the repository at this point in the history
  • Loading branch information
cppforlife committed Feb 26, 2020
1 parent 918c7d3 commit 7605f84
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/kapp/diff/template_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,5 @@ func (d TemplateResource) matchingRules() ([]ctlconf.TemplateRule, error) {
}
}

if len(result) == 0 {
return nil, fmt.Errorf("Expected to find at least one template rule")
}

return result, nil
}

0 comments on commit 7605f84

Please sign in to comment.