]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/JSONSchema.pm
fix doc generator (do not convert efidisk0 to efidisk[N])
[pve-common.git] / src / PVE / JSONSchema.pm
index 021e4e0784413037b410e551d4f9d0c82b120c77..caeefe2c6b61a108f6dedfdc7972633080543cb2 100644 (file)
@@ -1678,10 +1678,10 @@ sub schema_get_type_text {
     } elsif ($type eq 'integer' || $type eq 'number') {
        # NOTE: always access values as number (avoid converion to string)
        if (defined($phash->{minimum}) && defined($phash->{maximum})) {
-           return "$type (" . ($phash->{minimum} + 0) . "-" .
+           return "$type (" . ($phash->{minimum} + 0) . " - " .
                ($phash->{maximum} + 0) . ")";
        } elsif (defined($phash->{minimum})) {
-           return "$type (" . ($phash->{minimum} + 0) . "- N)";
+           return "$type (" . ($phash->{minimum} + 0) . " - N)";
        } elsif (defined($phash->{maximum})) {
            return "$type (-N - " . ($phash->{maximum} + 0) . ")";
        }