1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-29 10:55:05 +00:00

fix comments

This commit is contained in:
shivkumar dudhani 2020-03-11 18:14:42 -07:00
parent b1063a95e1
commit 5912eda1c0
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ func NewGenerateFactory(client *dclient.Client, rule kyverno.Generation) *Genera
return &g
}
//Validate validates the generate rule in validation
//Validate validates the 'generate' rule
func (g *Generate) Validate() (string, error) {
rule := g.rule
if rule.Data == nil && rule.Clone == (kyverno.CloneFrom{}) {

View file

@ -23,7 +23,7 @@ func NewMutateFactory(rule kyverno.Mutation) *Mutate {
return &m
}
//Validate validates the 'mutate' rul
//Validate validates the 'mutate' rule
func (m *Mutate) Validate() (string, error) {
rule := m.rule
// JSON Patches