forked from proxmox-mirrors/proxmox
api-macro: add test with no parameters
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
21fab51bda
commit
bead1e6b13
@ -100,3 +100,14 @@ pub fn some_call(verbose: bool) -> Result<(), Error> {
|
|||||||
let _ = verbose;
|
let _ = verbose;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[api(
|
||||||
|
input: {
|
||||||
|
properties: {}
|
||||||
|
},
|
||||||
|
)]
|
||||||
|
/// Basic function
|
||||||
|
pub fn basic_function() -> Result<(), Error> {
|
||||||
|
let _ = verbose;
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user