]> git.proxmox.com Git - proxmox-backup.git/commitdiff
update for new proxmox-api-macro
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 12 Dec 2022 10:40:12 +0000 (11:40 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 12 Dec 2022 10:40:13 +0000 (11:40 +0100)
A #[default] attribute now conflicts with an explicitly
defined #[api(default: ...)] value for obvious reasons.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/bin/proxmox_backup_debug/diff.rs

index 36c856e9c03d454af0095f7c4f4a8d663cdf698b..b9296a2e887b920066169ad2855d33e06ec9bd07 100644 (file)
@@ -222,7 +222,7 @@ async fn diff_archive(
     Ok(())
 }
 
-#[api(default: "auto")]
+#[api]
 #[derive(Default, Deserialize)]
 #[serde(rename_all = "lowercase")]
 /// Color output options