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 12, 2024
1 parent adfd5ad commit 9d5a2f9
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 @@ -95,7 +94,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 @@ -106,7 +105,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 9d5a2f9

Please sign in to comment.