]> git.proxmox.com Git - pve-common.git/commit
section config: avoid unamed boolean parameter use hash
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 17 Nov 2023 08:05:36 +0000 (09:05 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 17 Nov 2023 08:58:01 +0000 (09:58 +0100)
commit7ccdc805e366aa6f62ea0542de9e8bdc95e78b8c
tree9411c4a161139257289805c9bc6d62485fe35677
parent7d6cc4f14f2062d61cfb3788691d050aeda39634
section config: avoid unamed boolean parameter use hash

Even with just one param it's extra work to check what it refers too,
with named ones in a hash one hasn't that issue even with many params.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/SectionConfig.pm
test/section_config_property_isolation_test.pl