From 1540aadef50de7122aa98868e7e426c04a59dbc8 Mon Sep 17 00:00:00 2001 From: Didier Wenzek Date: Thu, 24 Oct 2024 15:46:50 +0200 Subject: [PATCH] Rename workflow::handlers the workflow::script module The script definition has been moved to the tedge_api::script module And the former workflow::script module contains now only workflow handlers. Signed-off-by: Didier Wenzek --- crates/core/tedge_api/src/workflow/{script.rs => handlers.rs} | 0 crates/core/tedge_api/src/workflow/mod.rs | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename crates/core/tedge_api/src/workflow/{script.rs => handlers.rs} (100%) diff --git a/crates/core/tedge_api/src/workflow/script.rs b/crates/core/tedge_api/src/workflow/handlers.rs similarity index 100% rename from crates/core/tedge_api/src/workflow/script.rs rename to crates/core/tedge_api/src/workflow/handlers.rs diff --git a/crates/core/tedge_api/src/workflow/mod.rs b/crates/core/tedge_api/src/workflow/mod.rs index 4c71ff4f7d..a635440121 100644 --- a/crates/core/tedge_api/src/workflow/mod.rs +++ b/crates/core/tedge_api/src/workflow/mod.rs @@ -1,7 +1,7 @@ pub mod error; +pub mod handlers; pub(crate) mod log; mod on_disk; -pub mod script; pub mod state; pub mod supervisor; mod toml_config; @@ -12,9 +12,9 @@ use crate::mqtt_topics::OperationType; use crate::script::ShellScript; use ::log::info; pub use error::*; +pub use handlers::*; use mqtt_channel::MqttMessage; use mqtt_channel::QoS; -pub use script::*; use serde::Deserialize; use serde_json::json; pub use state::*;