tree-wide: rename 'backup-ns' API parameters to 'ns'
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
f07e660153
commit
bc21ade293
@ -60,7 +60,7 @@ impl BackupReader {
|
||||
});
|
||||
|
||||
if !ns.is_root() {
|
||||
param["backup-ns"] = serde_json::to_value(ns)?;
|
||||
param["ns"] = serde_json::to_value(ns)?;
|
||||
}
|
||||
|
||||
let req = HttpClient::request_builder(
|
||||
|
@ -101,7 +101,7 @@ impl BackupWriter {
|
||||
});
|
||||
|
||||
if !ns.is_root() {
|
||||
param["backup-ns"] = serde_json::to_value(ns)?;
|
||||
param["ns"] = serde_json::to_value(ns)?;
|
||||
}
|
||||
|
||||
let req = HttpClient::request_builder(
|
||||
|
@ -301,7 +301,7 @@ pub async fn complete_server_file_name_do(param: &HashMap<String, String>) -> Ve
|
||||
};
|
||||
|
||||
let query = json_object_to_query(json!({
|
||||
"backup-ns": ns,
|
||||
"ns": ns,
|
||||
"backup-type": snapshot.group.ty,
|
||||
"backup-id": snapshot.group.id,
|
||||
"backup-time": snapshot.time,
|
||||
|
Reference in New Issue
Block a user