]> git.proxmox.com Git - pve-common.git/commit - src/PVE/PBSClient.pm
pbs client: deprecate namespaced parameters
authorFabian Ebner <f.ebner@proxmox.com>
Wed, 20 Jul 2022 10:59:44 +0000 (12:59 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 4 Nov 2022 13:01:38 +0000 (14:01 +0100)
commita95beed20d03269c4c0601c463cbc6f736700759
treebf59c28187bdb7e42c0b02f3bd7ad3de593672f3
parent139dc881ede2e23f1068b5571254bac120be0591
pbs client: deprecate namespaced parameters

All existing callers for functions with namespaced parameters just
re-use the one that's passed in via the initial configuration already,
so there is no need for namespaced parameters currently.

If the need for one PBS client to handle multiple namespaces arises, a
set_namespace() function could be added, or the relevant functions
could take an additional parameter, either for just the namespace or
like $cmd_opts in restore_pxar().

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
src/PVE/PBSClient.pm