]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/bin/proxmox_tape/drive.rs
adaptions for proxmox 0.9 and proxmox-api-macro 0.3
[proxmox-backup.git] / src / bin / proxmox_tape / drive.rs
index 0949d450478238e1bd018d8a38c1656d19f5afe9..73e34afcbe72693573480939cc55b5bedb0026c4 100644 (file)
@@ -108,7 +108,7 @@ fn list_drives(
         .column(ColumnConfig::new("serial"))
         ;
 
-    format_and_print_result_full(&mut data, info.returns, &output_format, &options);
+    format_and_print_result_full(&mut data, &info.returns, &output_format, &options);
 
     Ok(())
 }
@@ -143,7 +143,7 @@ fn scan_for_drives(
         .column(ColumnConfig::new("serial"))
         ;
 
-    format_and_print_result_full(&mut data, info.returns, &output_format, &options);
+    format_and_print_result_full(&mut data, &info.returns, &output_format, &options);
 
     Ok(())
 }
@@ -182,7 +182,7 @@ fn get_config(
         .column(ColumnConfig::new("changer-drive-id"))
         ;
 
-    format_and_print_result_full(&mut data, info.returns, &output_format, &options);
+    format_and_print_result_full(&mut data, &info.returns, &output_format, &options);
 
     Ok(())
 }