tree-wide: rename 'backup-ns' API parameters to 'ns'

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller authored and Thomas Lamprecht committed 2022-05-13 13:46:13 +02:00
1 parent f07e660153
commit bc21ade293
10 files changed
+111 -115

No files matched your search

+2 -2
View File
@@ -624,7 +624,7 @@ async fn pull_group(
});
if !remote_ns.is_root() {
args["backup-ns"] = serde_json::to_value(&remote_ns)?;
args["ns"] = serde_json::to_value(&remote_ns)?;
}
let target_ns = remote_ns.map_prefix(&params.remote_ns, &params.ns)?;
@@ -1055,7 +1055,7 @@ pub async fn pull_ns(
let args = if !source_ns.is_root() {
Some(json!({
"backup-ns": source_ns,
"ns": source_ns,
}))
} else {
None