From 920c9d2ed4034e2200c948868c7bd510e58b1371 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Fri, 16 Apr 2021 10:28:01 +0300 Subject: Apply notgne2 suggestions. --- src/deploy.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/deploy.rs') diff --git a/src/deploy.rs b/src/deploy.rs index f6cd4ef..285bbbd 100644 --- a/src/deploy.rs +++ b/src/deploy.rs @@ -237,8 +237,6 @@ pub async fn deploy_profile( let auto_rollback = deploy_data.merged_settings.auto_rollback.unwrap_or(true); - let dry_activate = dry_activate; - let self_activate_command = build_activate_command(ActivateCommandData { sudo: &deploy_defs.sudo, profile_path: &deploy_defs.profile_path, @@ -280,7 +278,9 @@ pub async fn deploy_profile( a => return Err(DeployProfileError::SSHActivateExitError(a)), }; - if !dry_activate { + if dry_activate { + info!("Completed dry-activate!"); + } else { info!("Success activating, done!"); } } else { -- cgit v1.2.3