hack: workaround unused code warning until proxmox-api-macro bump
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
d3444c0891
commit
b57b3c9bfc
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue