]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/bin/proxmox-backup-manager.rs
api-types: introduce BackupType enum and Group/Dir api types
[proxmox-backup.git] / src / bin / proxmox-backup-manager.rs
index ad700feeb6ef5bf41606b27010fe679e073a8aef..abb7954a56802454ebfec73e544fc71b2cb77b13 100644 (file)
@@ -523,7 +523,7 @@ pub fn complete_remote_datastore_group(_arg: &str, param: &HashMap<String, Strin
                 .await
         }) {
             for item in data {
-                list.push(format!("{}/{}", item.backup_type, item.backup_id));
+                list.push(format!("{}/{}", item.backup.ty, item.backup.id));
             }
         }
     }