]> git.proxmox.com Git - proxmox-backup.git/commitdiff
hack: workaround unused code warning until proxmox-api-macro bump
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Oct 2020 16:41:20 +0000 (17:41 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Oct 2020 16:41:30 +0000 (17:41 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/api2/node/subscription.rs

index 55e0b5d6bea9b13b919cd5e80fe2c4280148e1db..0802f6a73e3df4a47d9edc3886d4d166867b2011 100644 (file)
@@ -32,6 +32,8 @@ use crate::api2::types::{NODE_SCHEMA, Userid};
 fn check_subscription(
     force: bool,
 ) -> Result<(), Error> {
+    // FIXME: drop once proxmox-api-macro is bumped to >> 5.0.0-1
+    let _remove_me = API_METHOD_CHECK_SUBSCRIPTION_PARAM_DEFAULT_FORCE;
 
     let info = match subscription::read_subscription() {
         Err(err) => bail!("could not read subscription status: {}", err),