proxmox-backup/src/api2
Dominik Csapak a59ffbbe2c tape: inventory: don't skip unassigned tapes completely
since commit 139acf37 ("tape: inventory: skip unassigned tapes")
we skip unassigned tapes (special all-zero media-set uuid) when we look
for a catalog. We accidentally skipped storing it in the inventory
completely, which means we never inventoried completely empty tapes.

to fix that, simply move the check below the inserting in the inventory

Fixes: 139acf37 ("tape: inventory: skip unassigned tapes")

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2023-03-01 08:17:12 +01:00
..
access server: add LDAP realm sync job 2023-02-10 12:46:19 +01:00
admin clippy 1.65 fixes 2022-12-05 11:40:02 +01:00
backup backup: fix indentation 2023-02-24 10:15:02 +01:00
config api-types: add config options for LDAP user sync 2023-02-10 12:46:19 +01:00
node api: serde-rename deleteable properties to kebab-case 2023-01-20 07:35:10 +01:00
reader backup/snapshot reader: improve error message for ENOENT 2023-02-08 15:19:29 +01:00
tape tape: inventory: don't skip unassigned tapes completely 2023-03-01 08:17:12 +01:00
types api: rustfmt 2022-04-14 13:33:01 +02:00
helpers.rs api: rustfmt 2022-04-14 13:33:01 +02:00
mod.rs api: add some missing sorted macro calls 2022-05-30 13:58:43 +02:00
ping.rs api: rustfmt 2022-04-14 13:33:01 +02:00
pull.rs tree-wide: bump edition to 2021 2022-12-06 13:31:01 +01:00
status.rs cleanup rrd bounds checks in datastore status call 2022-11-24 13:55:22 +01:00
version.rs api: rustfmt 2022-04-14 13:33:01 +02:00