summaryrefslogtreecommitdiff
path: root/crates/system_action
diff options
context:
space:
mode:
Diffstat (limited to 'crates/system_action')
-rw-r--r--crates/system_action/action_macros/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/system_action/action_macros/src/lib.rs b/crates/system_action/action_macros/src/lib.rs
index f65d424..4c03b63 100644
--- a/crates/system_action/action_macros/src/lib.rs
+++ b/crates/system_action/action_macros/src/lib.rs
@@ -67,6 +67,7 @@ fn generate_action_struct(input_fn: ItemFn, _is_local: bool) -> proc_macro2::Tok
mut ctx: action_system::action::ActionContext,
#arg_param_name: #arg_type
) -> Result<#return_type, tcp_connection::error::TcpTargetError> {
+ ctx.set_is_remote_action(!#_is_local);
let args_json = serde_json::to_string(&#arg_param_name)
.map_err(|e| {
tcp_connection::error::TcpTargetError::Serialization(e.to_string())