Skip to content

Commit

Permalink
Merge pull request #496 from aserto-dev/checks-result
Browse files Browse the repository at this point in the history
Return type of ds.checks is 'any'
  • Loading branch information
ronenh authored Nov 26, 2024
2 parents 467a0eb + 462c8d8 commit df63b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtins/edge/ds/checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
func RegisterChecks(logger *zerolog.Logger, fnName string, dr resolvers.DirectoryResolver) (*rego.Function, rego.Builtin1) {
return &rego.Function{
Name: fnName,
Decl: types.NewFunction(types.Args(types.A), types.B),
Decl: types.NewFunction(types.Args(types.A), types.A),
Memoize: true,
},
func(bctx rego.BuiltinContext, op1 *ast.Term) (*ast.Term, error) {
Expand Down

0 comments on commit df63b9a

Please sign in to comment.