mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
Adding variable to function defention
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
This commit is contained in:
@@ -115,7 +115,7 @@ var imageNameNormalizeDefinition = func(bctx rego.BuiltinContext, a *ast.Term) (
|
||||
|
||||
var unauthenticatedServiceDeclaration = ®o.Function{
|
||||
Name: "networkscanner.unauthenticated_service",
|
||||
Decl: types.NewFunction(types.Args(types.S), types.B),
|
||||
Decl: types.NewFunction(types.Args(types.S, types.A), types.B),
|
||||
Memoize: true,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user