diff --git a/.github/workflows/fast-win-build.yml b/.github/workflows/fast-win-build.yml index 252f90f0e..cc0d72989 100644 --- a/.github/workflows/fast-win-build.yml +++ b/.github/workflows/fast-win-build.yml @@ -51,6 +51,7 @@ jobs: - name: Checkout frontend run: | + mkdir -p dashboard git clone https://github.com/scx1332/yagna-dashboard.git yagna-dashboard cd yagna-dashboard git checkout e52bb7b51d7a644acc407479332f1f4b4cda263e diff --git a/core/identity/src/cli/identity.rs b/core/identity/src/cli/identity.rs index aa87235ff..a32006644 100644 --- a/core/identity/src/cli/identity.rs +++ b/core/identity/src/cli/identity.rs @@ -314,6 +314,13 @@ impl IdentityCommand { ) .await .map_err(anyhow::Error::msg)?; + + if *set_default { + log::warn!( + "Setting default identity requires service/daemon restart to take effect!" + ) + } + CommandOutput::object(id) } IdentityCommand::Create { @@ -381,6 +388,13 @@ impl IdentityCommand { .send(identity::Update::with_id(id.node_id).with_default(*set_default)) .await .map_err(anyhow::Error::msg)?; + + if *set_default { + log::warn!( + "Setting default identity requires service/daemon restart to take effect!" + ) + } + CommandOutput::object(id) } IdentityCommand::Lock { @@ -426,7 +440,11 @@ impl IdentityCommand { IdentityCommand::Drop { node_or_alias, force, - } => drop_id::drop_id(&gsb, node_or_alias, *force).await, + } => { + log::warn!("Dropping identity requires service/daemon restart to take effect!"); + + drop_id::drop_id(&gsb, node_or_alias, *force).await + } IdentityCommand::Export { node_or_alias, file_path,