From 30e63298616baf8f2d03a47bf7d4f77005fe8786 Mon Sep 17 00:00:00 2001 From: Julien Fabre Date: Tue, 21 May 2024 20:08:24 -0600 Subject: [PATCH] fix expression --- dispatch/sdk/v1/dispatch.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dispatch/sdk/v1/dispatch.proto b/dispatch/sdk/v1/dispatch.proto index 7f42588..a4913c7 100644 --- a/dispatch/sdk/v1/dispatch.proto +++ b/dispatch/sdk/v1/dispatch.proto @@ -32,7 +32,7 @@ message DispatchRequest { option (buf.validate.message).cel = { id: "dispatch.request.calls.endpoint.scheme", message: "Call endpoint must be a http, https or a bridge URL or an AWS Lambda ARN", - expression: "this.calls.all(call, call.endpoint.startsWith('http://') || call.endpoint.startsWith('https://') || call.endpoint.startsWith('bridge://')) || call.endpoint.startsWith('arn:aws:lambda')" + expression: "this.calls.all(call, call.endpoint.startsWith('http://') || call.endpoint.startsWith('https://') || call.endpoint.startsWith('bridge://') || call.endpoint.startsWith('arn:aws:lambda'))" }; // List of calls to dispatch.