Skip to content

Commit

Permalink
fixup! core: fixing the nurse run command
Browse files Browse the repository at this point in the history
Signed-off-by: Vincenzo Palazzo <[email protected]>
  • Loading branch information
vincenzopalazzo committed Apr 15, 2024
1 parent 4e838c0 commit 4decc6b
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions coffee_cmd/src/coffee_term/command_show.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,15 @@ pub fn show_nurse_verify(nurse_verify: &ChainOfResponsibilityStatus) -> Result<(
}
}
Defect::CoffeeGlobalRepoCleanup(networks) => {
let defect = format!(
"Global repository migration completed for the networks: {}",
networks
.iter()
.map(|(network, _)| format!("{network} "))
.collect::<String>()
.trim_end()
);
let defect = "Network specific repository missing";
let networks = networks
.iter()
.map(|(network, _)| network.clone())
.collect::<Vec<String>>();
table.push([
term::format::positive("●").into(),
term::format::bold(defect.to_owned()),
term::format::highlight("_".to_owned()),
term::format::highlight(networks.join(", ")),
]);
}
}
Expand Down

0 comments on commit 4decc6b

Please sign in to comment.