]> git.proxmox.com Git - proxmox-backup.git/commit
tape: inventory: skip unassigned tapes
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 29 Nov 2022 14:17:01 +0000 (15:17 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 30 Nov 2022 16:28:27 +0000 (17:28 +0100)
commit139acf37a25cdf395c2974023de31a8ee50b98cd
treed1780268a68a53bb4292326e67a0632762de4992
parent52517f7b9eca614fc46f62fe1ce47e624ada1d22
tape: inventory: skip unassigned tapes

tapes that are labeled into a pool but are not in a media-set yet, belong
to the special 'all zero' media-set. these will never have a catalog on them,
so skip them

fixes the issue, that an inventory with 'catalog restore' aborted on
such a tape

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/api2/tape/drive.rs