summaryrefslogtreecommitdiffstats
path: root/crates/core/tedge/src/cli/disconnect/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/core/tedge/src/cli/disconnect/cli.rs')
-rw-r--r--crates/core/tedge/src/cli/disconnect/cli.rs10
1 files changed, 2 insertions, 8 deletions
diff --git a/crates/core/tedge/src/cli/disconnect/cli.rs b/crates/core/tedge/src/cli/disconnect/cli.rs
index e13a9250..3afb8c26 100644
--- a/crates/core/tedge/src/cli/disconnect/cli.rs
+++ b/crates/core/tedge/src/cli/disconnect/cli.rs
@@ -22,10 +22,7 @@ impl BuildCommand for TEdgeDisconnectBridgeCli {
cloud: Cloud::C8y,
use_mapper: true,
use_agent: true,
- service_manager: service_manager(
- context.user_manager.clone(),
- context.config_location.tedge_config_root_path,
- )?,
+ service_manager: service_manager(context.config_location.tedge_config_root_path)?,
},
TEdgeDisconnectBridgeCli::Az => DisconnectBridgeCommand {
config_location: context.config_location.clone(),
@@ -33,10 +30,7 @@ impl BuildCommand for TEdgeDisconnectBridgeCli {
cloud: Cloud::Azure,
use_mapper: true,
use_agent: false,
- service_manager: service_manager(
- context.user_manager.clone(),
- context.config_location.tedge_config_root_path,
- )?,
+ service_manager: service_manager(context.config_location.tedge_config_root_path)?,
},
};
Ok(cmd.into_boxed())