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
commit df5c0a7f314ede717c9ccfad3aa95a737b8cf6d5 Author: sunhe05 <[email protected]> AuthorDate: Tue Nov 8 04:45:31 2022 +0000 SDK: fix calling a wrong function --- sdk/rust/src/bindings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/rust/src/bindings.rs b/sdk/rust/src/bindings.rs index e7a72979..e8fcf70b 100644 --- a/sdk/rust/src/bindings.rs +++ b/sdk/rust/src/bindings.rs @@ -344,7 +344,7 @@ pub unsafe extern "C" fn teaclave_cancel_task( } let task_id = CStr::from_ptr(task_id).to_string_lossy().into_owned(); - match client.invoke_task(&task_id) { + match client.cancel_task(&task_id) { Ok(_) => 0, Err(_) => 1, } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
