]> git.proxmox.com Git - pve-manager.git/commit - PVE/CLI/pve6to7.pm
pve6to7: use new flags API
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 6 Jul 2021 12:13:44 +0000 (14:13 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 6 Jul 2021 12:20:46 +0000 (14:20 +0200)
commit3bc032ad0e5416e2de472458c7919b628d8520df
treea8129dfb166eab51a2cedbf702bec42733e3c14d
parent052d36fec2b0576fc969f4039495eea9d12f0214
pve6to7: use new flags API

the old one is not available post-upgrade, let's use a single codepath
for this.

the new API only allows querying user-settable flags, but the only flags
we check besides 'noout' are not relevant for an upgrade of PVE 6.x to
7.x (PVE 6.x only supports Nautilus+ which requires these flags to be
set in order to work) so we can just drop those outdated checks instead
of extending/refactoring the API.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/CLI/pve6to7.pm