mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-07 21:18:51 +00:00
tree-wide: run cargo fmt
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
0475421498
commit
d73eb3dcf1
@ -25,9 +25,9 @@ use std::borrow::Borrow;
|
||||
use std::fmt;
|
||||
|
||||
use anyhow::{bail, format_err, Error};
|
||||
use const_format::concatcp;
|
||||
use lazy_static::lazy_static;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use const_format::concatcp;
|
||||
|
||||
use proxmox_schema::{
|
||||
api, const_regex, ApiStringFormat, ApiType, Schema, StringSchema, UpdaterType,
|
||||
|
@ -223,7 +223,10 @@ impl OutputFormatter for ExtJsFormatter {
|
||||
for (name, err) in param_err {
|
||||
errors.insert(name, err.to_string());
|
||||
}
|
||||
(String::from("parameter verification errors"), StatusCode::BAD_REQUEST)
|
||||
(
|
||||
String::from("parameter verification errors"),
|
||||
StatusCode::BAD_REQUEST,
|
||||
)
|
||||
}
|
||||
Err(err) => (err.to_string(), StatusCode::BAD_REQUEST),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user