deploy the closure the swarm declares, read no forge head, drop the update badge
This commit is contained in:
parent
279428a66f
commit
47c2acb640
1 changed files with 647 additions and 2001 deletions
|
|
@ -167,19 +167,15 @@ pub(crate) async fn agents_list(socket: &Path, json: bool) -> Result<()> {
|
|||
if r.needs_login {
|
||||
s.push_str(" needs-login");
|
||||
}
|
||||
if r.needs_update {
|
||||
s.push_str(" needs-update");
|
||||
}
|
||||
s
|
||||
};
|
||||
let headers = ["NAME", "STATUS", "REV", "REMIND"];
|
||||
let table: Vec<[String; 4]> = rows
|
||||
let headers = ["NAME", "STATUS", "REMIND"];
|
||||
let table: Vec<[String; 3]> = rows
|
||||
.iter()
|
||||
.map(|r| {
|
||||
[
|
||||
r.name.clone(),
|
||||
status_of(r),
|
||||
r.deployed_sha.clone().unwrap_or_else(|| "-".to_owned()),
|
||||
if r.pending_reminders > 0 {
|
||||
r.pending_reminders.to_string()
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue