]> git.proxmox.com Git - pve-manager.git/commit
Jobs: include existing types in state file regex for deletion
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 17 Jan 2023 11:46:56 +0000 (12:46 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 7 Jun 2023 09:38:34 +0000 (11:38 +0200)
commita1c51a74ca5326541e8bdfd154ca1e137689f37c
tree08e577b391e9bcb7a7216959e7aee277aa2238f6
parent63d74bb632833f31208eb966c2701b6eec7ac319
Jobs: include existing types in state file regex for deletion

otherwise, we cannot correctly match types that contain a hyphen,
since the id itself can also contain those.

creating a regex where the first part is the concrete allowed
types followed by a hyphen + id can also match those.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Jobs.pm