]> git.proxmox.com Git - pve-manager.git/commit - PVE/VZDump.pm
vzdump: have property string helpers always return the result
authorFiona Ebner <f.ebner@proxmox.com>
Thu, 11 Apr 2024 08:13:24 +0000 (10:13 +0200)
committerFiona Ebner <f.ebner@proxmox.com>
Fri, 19 Apr 2024 13:57:23 +0000 (15:57 +0200)
commitf25bcd0673655df3f0349eda4741ab2233058d79
treed58b5f74415379d8dc46ab46ac5949ca305ed952
parent3941bc7f434723b1739bb7e9eb7465db652f79f1
vzdump: have property string helpers always return the result

Previously, the result would only be returned implicitly and if not
already parsed. While callers do not strictly need the return value,
future callers might mistakenly rely on it and even work by chance in
some scenarios, because of the implicit return. Make the code more
future proof by explicitly returning the result in all cases.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
PVE/VZDump.pm