Merge pull request 'fix(targets): don't build all nodes when using tags' (#12) from target-tag; into main

Reviewed-on: #12
Reviewed-by: mdebray <mdebray@dgnum.eu>
This commit is contained in:
Ryan Lahfa 2025-01-09 23:17:02 +01:00
commit b9a1d2f7ff

View file

@ -292,7 +292,7 @@ impl Hive {
let n_selected = selected_nodes.len();
let mut node_configs = if let Some(configs) = node_configs {
configs
configs.into_iter().filter(|(name, _)| selected_nodes.contains(name)).collect()
} else {
log::debug!("Retrieving deployment info for selected nodes...");
self.deployment_info_selected(&selected_nodes).await?