[pve-devel] [PATCH common 1/2] indentation fix
Fabian Ebner
f.ebner at proxmox.com
Thu Mar 18 09:44:17 CET 2021
Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
src/PVE/JSONSchema.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm
index 20d72b3..e9d10da 100644
--- a/src/PVE/JSONSchema.pm
+++ b/src/PVE/JSONSchema.pm
@@ -715,7 +715,7 @@ sub check_format {
}
} elsif ($format_type eq 'opt') {
$parsed = $registered->($value) if $value;
- } else {
+ } else {
if (ref($registered) eq 'HASH') {
# Note: this is the only case where a validator function could be
# attached, hence it's safe to handle that in parse_property_string.
--
2.20.1
More information about the pve-devel
mailing list