mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-12 09:17:26 +00:00
api-macro: formatting
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
5e490dd7a0
commit
d871d6849b
@ -67,10 +67,8 @@ fn create_ticket_schema_check() {
|
||||
(
|
||||
"password",
|
||||
false,
|
||||
&::proxmox_schema::StringSchema::new(
|
||||
"The secret password or a valid ticket.",
|
||||
)
|
||||
.schema(),
|
||||
&::proxmox_schema::StringSchema::new("The secret password or a valid ticket.")
|
||||
.schema(),
|
||||
),
|
||||
(
|
||||
"username",
|
||||
@ -170,10 +168,8 @@ fn create_ticket_direct_schema_check() {
|
||||
(
|
||||
"password",
|
||||
false,
|
||||
&::proxmox_schema::StringSchema::new(
|
||||
"The secret password or a valid ticket.",
|
||||
)
|
||||
.schema(),
|
||||
&::proxmox_schema::StringSchema::new("The secret password or a valid ticket.")
|
||||
.schema(),
|
||||
),
|
||||
(
|
||||
"username",
|
||||
|
@ -1,7 +1,7 @@
|
||||
//! Test the automatic addition of integer limits.
|
||||
|
||||
use proxmox_schema::ApiType;
|
||||
use proxmox_api_macro::api;
|
||||
use proxmox_schema::ApiType;
|
||||
|
||||
/// An i16: -32768 to 32767.
|
||||
#[api]
|
||||
|
Loading…
Reference in New Issue
Block a user