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
@ -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(¶ms.remote_ns, ¶ms.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
|
||||
|
Reference in New Issue
Block a user