Skip to content

Commit

Permalink
Remove server version from backup list for now
Browse files Browse the repository at this point in the history
  • Loading branch information
elprans committed Oct 1, 2024
1 parent 2178787 commit 741a84d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cloud/backups.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ pub struct Backup {

pub status: String,
pub r#type: String,
pub edgedb_version: String,
}

#[derive(Debug, serde::Serialize)]
Expand Down Expand Up @@ -68,7 +67,7 @@ fn print_table(items: impl Iterator<Item = Backup>) {
let mut table = Table::new();
table.set_format(*table::FORMAT);
table.set_titles(Row::new(
["ID", "Created", "Type", "Status", "Server Version"]
["ID", "Created", "Type", "Status"]
.iter()
.map(|x| table::header_cell(x))
.collect(),
Expand All @@ -79,7 +78,6 @@ fn print_table(items: impl Iterator<Item = Backup>) {
Cell::new(&humantime::format_rfc3339_seconds(key.created_on).to_string()),
Cell::new(&key.r#type),
Cell::new(&key.status),
Cell::new(&key.edgedb_version),
]));
}
if !table.is_empty() {
Expand Down

0 comments on commit 741a84d

Please sign in to comment.