proxmox_backup_manager disk list: display gpt column

This commit is contained in:
Dietmar Maurer 2020-06-08 07:35:44 +02:00
parent 7c3aa258f8
commit dfb31de8f0
2 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,7 @@ async fn view_task_result(
Ok(()) Ok(())
} }
// Note: local worker already printf logs to stdout, so there is no need // Note: local workers should print logs to stdout, so there is no need
// to fetch/display logs. We just wait for the worker to finish. // to fetch/display logs. We just wait for the worker to finish.
pub async fn wait_for_local_worker(upid_str: &str) -> Result<(), Error> { pub async fn wait_for_local_worker(upid_str: &str) -> Result<(), Error> {

View File

@ -32,6 +32,7 @@ fn list_disks(mut param: Value, rpcenv: &mut dyn RpcEnvironment) -> Result<Value
let options = default_table_format_options() let options = default_table_format_options()
.column(ColumnConfig::new("name")) .column(ColumnConfig::new("name"))
.column(ColumnConfig::new("used")) .column(ColumnConfig::new("used"))
.column(ColumnConfig::new("gpt"))
.column(ColumnConfig::new("disk-type")) .column(ColumnConfig::new("disk-type"))
.column(ColumnConfig::new("size")) .column(ColumnConfig::new("size"))
.column(ColumnConfig::new("model")) .column(ColumnConfig::new("model"))