]> git.proxmox.com Git - pve-container.git/commitdiff
d/control: bump versioned dependency for guest-common master
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 15 May 2024 17:25:53 +0000 (19:25 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 15 May 2024 17:25:55 +0000 (19:25 +0200)
To ensure schema is correct for being validated properly

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/changelog
debian/control
src/PVE/API2/LXC.pm

index 2c83784d879d234b5a8424cf37bc2a6288f3d8a0..e1d136f2bc5444361e591ac38e7c44f259ff8a90 100644 (file)
@@ -1,3 +1,13 @@
+pve-container (5.1.10) bookworm; urgency=medium
+
+  * fix #5414: use proper percentages in `pct df`
+
+  * setup: support Ubuntu 24.04 Noble
+
+  * setup: unlink default netplan configuration even with Ubuntu >= 23.04
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 02 May 2024 14:37:10 +0200
+
 pve-container (5.0.11) bookworm; urgency=medium
 
   * api: fix regression with locking and start-after-create
index d7a078b007d180da5a89352cd04847f10053cdfe..35ee871b000bcb7b7d1b81e0405318f0951f4c03 100644 (file)
@@ -25,7 +25,7 @@ Depends: binutils,
          libpve-access-control (>= 8.0.0~),
          libpve-cluster-perl,
          libpve-common-perl (>= 8.1.0),
-         libpve-guest-common-perl (>= 5.1.0),
+         libpve-guest-common-perl (>= 5.1.2),
          libpve-storage-perl (>= 7.2-10),
          lxc-pve,
          pve-cluster (>= 4.0-8),
index 9658db42fe56c1eb2611bb746efc63f2599384d6..138288c18f254e441124a6d101a62067490f56fe 100644 (file)
@@ -2948,8 +2948,12 @@ __PACKAGE__->register_method({
                } elsif (my $handler = $cmd_handlers->{$cmd}) {
                    print "received command '$cmd'\n";
                    eval {
-                       if ($cmd_desc->{$cmd}) {
-                           PVE::JSONSchema::validate($parsed, $cmd_desc->{$cmd});
+                       if (my $props = $cmd_desc->{$cmd}) {
+                           my $schema = {
+                               type => 'object',
+                               properties => $props,
+                           };
+                           PVE::JSONSchema::validate($parsed, $schema);
                        } else {
                            $parsed = {};
                        }