You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by ms...@apache.org on 2021/12/02 01:02:58 UTC

[incubator-teaclave] branch master updated: Fix typo (#578)

This is an automated email from the ASF dual-hosted git repository.

mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git


The following commit(s) were added to refs/heads/master by this push:
     new 935571e  Fix typo (#578)
935571e is described below

commit 935571e3d4560bab15b1b754bec6a7d1169fb9e2
Author: Mingshen Sun <bo...@mssun.me>
AuthorDate: Wed Dec 1 17:02:52 2021 -0800

    Fix typo (#578)
---
 sdk/swift/TeaclaveClientSDK/TeaclaveClientSDK/TeaclaveClientSDK.swift | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sdk/swift/TeaclaveClientSDK/TeaclaveClientSDK/TeaclaveClientSDK.swift b/sdk/swift/TeaclaveClientSDK/TeaclaveClientSDK/TeaclaveClientSDK.swift
index bb1dfcf..d6f7207 100644
--- a/sdk/swift/TeaclaveClientSDK/TeaclaveClientSDK/TeaclaveClientSDK.swift
+++ b/sdk/swift/TeaclaveClientSDK/TeaclaveClientSDK/TeaclaveClientSDK.swift
@@ -35,7 +35,7 @@ public enum TeaclaveClientError: Error {
 }
 
 public struct RegisterFunctionRequest: Encodable {
-    public let request: String = "register_function_request"
+    public let request: String = "register_function"
     public let name: String
     public let description: String
     public let executor_type: String
@@ -75,7 +75,7 @@ public struct OwnerList: Encodable {
 }
 
 public struct CreateTaskRequest: Encodable {
-    public let request: String = "register_create_task"
+    public let request: String = "create_task"
     public let function_id: String
     public let function_arguments: String
     public let executor: String

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org