Skip to content

Commit 4decc6b

Browse files
fixup! core: fixing the nurse run command
Signed-off-by: Vincenzo Palazzo <[email protected]>
1 parent 4e838c0 commit 4decc6b

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

coffee_cmd/src/coffee_term/command_show.rs

+6-9
Original file line numberDiff line numberDiff line change
@@ -114,18 +114,15 @@ pub fn show_nurse_verify(nurse_verify: &ChainOfResponsibilityStatus) -> Result<(
114114
}
115115
}
116116
Defect::CoffeeGlobalRepoCleanup(networks) => {
117-
let defect = format!(
118-
"Global repository migration completed for the networks: {}",
119-
networks
120-
.iter()
121-
.map(|(network, _)| format!("{network} "))
122-
.collect::<String>()
123-
.trim_end()
124-
);
117+
let defect = "Network specific repository missing";
118+
let networks = networks
119+
.iter()
120+
.map(|(network, _)| network.clone())
121+
.collect::<Vec<String>>();
125122
table.push([
126123
term::format::positive("●").into(),
127124
term::format::bold(defect.to_owned()),
128-
term::format::highlight("_".to_owned()),
125+
term::format::highlight(networks.join(", ")),
129126
]);
130127
}
131128
}

0 commit comments

Comments
 (0)