From fc5a012068534daf85580864b995004ce58b096d Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 12 Nov 2020 10:28:03 +0100 Subject: [PATCH] manager: versions: non-verbose should actually print server pkg info Signed-off-by: Thomas Lamprecht --- src/bin/proxmox-backup-manager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/proxmox-backup-manager.rs b/src/bin/proxmox-backup-manager.rs index 80e699f1..219476fc 100644 --- a/src/bin/proxmox-backup-manager.rs +++ b/src/bin/proxmox-backup-manager.rs @@ -384,7 +384,7 @@ async fn get_versions(verbose: bool, param: Value) -> Result { let output_format = get_output_format(¶m); let packages = crate::api2::node::apt::get_versions()?; - let mut packages = json!(if verbose { &packages[..] } else { &packages[0..1] }); + let mut packages = json!(if verbose { &packages[..] } else { &packages[1..2] }); let options = default_table_format_options() .disable_sort()