[pbs-devel] [PATCH proxmox-backup] api: tape: don't allow overwriting of ids in changer/drive config

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Mar 6 09:56:15 CET 2024


Am 06/03/2024 um 09:47 schrieb Dominik Csapak:
> by checking the whole section config for an existing id, not only the
> ones of the given type.
> 
> This prevents creation of a drive config with the same name as an
> existing changer and vice versa.

Ok, but why is that bad? Just confusion potential, does something
break as we only use the ID without the section-key later on, ...?

Describing the effects/background, even if rather obvious, would
be still appreciated.




More information about the pbs-devel mailing list