mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-08 07:14:02 +00:00
client: rename variable to sensible name
two-letter abbreviations should only be used for things that have a very common meaning (e.g. NS, RE, ..), not arbitrary things. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
a78d4b5a3a
commit
2e2d3ec244
@ -151,8 +151,8 @@ async fn delete_namespace(param: Value, delete_groups: Option<bool>) -> Result<(
|
|||||||
let path = format!("api2/json/admin/datastore/{}/namespace", repo.store());
|
let path = format!("api2/json/admin/datastore/{}/namespace", repo.store());
|
||||||
let mut param = json!({ "ns": backup_ns });
|
let mut param = json!({ "ns": backup_ns });
|
||||||
|
|
||||||
if let Some(dg) = delete_groups {
|
if let Some(value) = delete_groups {
|
||||||
param["delete-groups"] = serde_json::to_value(dg)?;
|
param["delete-groups"] = serde_json::to_value(value)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
let client = connect(&repo)?;
|
let client = connect(&repo)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user