Skip to content

Commit 6e517ae

Browse files
gr0migmartri
andauthored
Update pkg/policies/policies.go
Co-authored-by: Miguel Martinez Trivino <migmartri@gmail.com> Signed-off-by: Rafał Kuć <rafal@kuciowie.pl>
1 parent 19bfbc0 commit 6e517ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/policies/policies.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ func ComputeArguments(name string, inputs []*v1.PolicyInput, args map[string]str
263263
return input.Name == k
264264
})
265265
if !expected {
266-
logger.Warn().Msgf("argument %q will be ignored by policy %s", k, name)
266+
logger.Warn().Msgf("argument %q not defined in policy %q spec, ignoring it", k, name)
267267
continue
268268
}
269269
value, err := templates.ApplyBinding(v, bindings)

0 commit comments

Comments
 (0)