hack: workaround unused code warning until proxmox-api-macro bump

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-10-27 17:41:20 +01:00
parent d3444c0891
commit b57b3c9bfc
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ use crate::api2::types::{NODE_SCHEMA, Userid};
fn check_subscription( fn check_subscription(
force: bool, force: bool,
) -> Result<(), Error> { ) -> 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() { let info = match subscription::read_subscription() {
Err(err) => bail!("could not read subscription status: {}", err), Err(err) => bail!("could not read subscription status: {}", err),