[pve-devel] applied: [PATCH v3 manager 1/4] vzdump: storage info: move out activate storage call
t.lamprecht at proxmox.com
Thu Apr 1 15:25:06 CEST 2021
On 11.03.21 10:22, Fabian Ebner wrote:
> Otherwise storage_info() cannot be used for (at least) PBS storages from an API
> call without 'protected => 1', because the password cannot be read from
> '/etc/pve/priv'. Note that the function itself does not need the storage to be
> active, because it only uses storage_config() and get_backup_dir().
> AFAICT new() is the only existing user of this function and can be responsible
> for activating the storage itself.
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> New in v3
> PVE/VZDump.pm | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
More information about the pve-devel