Skip to content

Commit 7cd97ac

Browse files
committed
suppress lint err
Signed-off-by: Sylwester Piskozub <sylwesterpiskozub@gmail.com>
1 parent 77ef3ec commit 7cd97ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/policies/engine/rego/rego.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ var builtinFuncNotAllowed = []*ast.Builtin{
127127
// print statements from Rego policies during evaluation.
128128
type regoOutputHook struct{}
129129

130-
func (p *regoOutputHook) Print(_ print.Context, msg string) error {
130+
func (p *regoOutputHook) Print(_ print.Context, msg string) error { //nolint:forbidigo
131131
fmt.Println(msg)
132132
return nil
133133
}

0 commit comments

Comments
 (0)