From 1a846b80ae48489a77c3ac90f3def6f0d1b8c18a Mon Sep 17 00:00:00 2001 From: Lilian Kasem Date: Tue, 14 Jun 2022 14:43:41 -0700 Subject: [PATCH] Remove "optional" as properties are optional by default --- src/proto/FunctionRpc.proto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/proto/FunctionRpc.proto b/src/proto/FunctionRpc.proto index b9c9237..2c9393f 100644 --- a/src/proto/FunctionRpc.proto +++ b/src/proto/FunctionRpc.proto @@ -558,11 +558,11 @@ message RpcException { // Worker specifies whether exception is a user exception, // for purpose of application insights logging. Defaults to false. - optional bool is_user_exception = 4; + bool is_user_exception = 4; // Type of exception. If it's a user exception, the type is passed along to app insights. // Otherwise, it's ignored for now. - optional string type = 5; + string type = 5; } // Http cookie type. Note that only name and value are used for Http requests @@ -620,4 +620,4 @@ message RpcHttp { map nullable_headers = 20; map nullable_params = 21; map nullable_query = 22; -} \ No newline at end of file +}