public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH pve-network 1/1] api: sdn: fix missing types for 'pending' fields.
       [not found] <20240418164427.13881-1-jcdra1@gmail.com>
@ 2024-04-18 16:44 ` Johannes Cornelis Draaijer via pve-devel
       [not found] ` <20240418164427.13881-2-jcdra1@gmail.com>
  1 sibling, 0 replies; 2+ messages in thread
From: Johannes Cornelis Draaijer via pve-devel @ 2024-04-18 16:44 UTC (permalink / raw)
  To: pve-devel; +Cc: Johannes Cornelis Draaijer

[-- Attachment #1: Type: message/rfc822, Size: 6303 bytes --]

From: Johannes Cornelis Draaijer <jcdra1@gmail.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH pve-network 1/1] api: sdn: fix missing types for 'pending' fields.
Date: Thu, 18 Apr 2024 18:44:27 +0200
Message-ID: <20240418164427.13881-2-jcdra1@gmail.com>

Signed-off-by: Johannes Cornelis Draaijer <jcdra1@gmail.com>
---
 src/PVE/API2/Network/SDN/Controllers.pm | 2 +-
 src/PVE/API2/Network/SDN/Zones.pm       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PVE/API2/Network/SDN/Controllers.pm b/src/PVE/API2/Network/SDN/Controllers.pm
index 0540a65..38a685d 100644
--- a/src/PVE/API2/Network/SDN/Controllers.pm
+++ b/src/PVE/API2/Network/SDN/Controllers.pm
@@ -71,7 +71,7 @@ __PACKAGE__->register_method ({
 	    properties => { controller => { type => 'string' },
 			    type => { type => 'string' },
 			    state => { type => 'string', optional => 1 },
-                            pending => { optional => 1},
+			    pending => { type => 'boolean', optional => 1 },
 	    },
 	},
 	links => [ { rel => 'child', href => "{controller}" } ],
diff --git a/src/PVE/API2/Network/SDN/Zones.pm b/src/PVE/API2/Network/SDN/Zones.pm
index 35e2f7f..2c27983 100644
--- a/src/PVE/API2/Network/SDN/Zones.pm
+++ b/src/PVE/API2/Network/SDN/Zones.pm
@@ -100,7 +100,7 @@ __PACKAGE__->register_method ({
 			    dnszone => { type => 'string', optional => 1},
 			    ipam => { type => 'string', optional => 1},
 			    dhcp => { type => 'string', optional => 1},
-			    pending => { optional => 1},
+			    pending => { type => 'boolean', optional => 1 },
 			    state => { type => 'string', optional => 1},
 			    nodes => { type => 'string', optional => 1},
 			  },
-- 
2.34.1



[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied: [PATCH pve-network 1/1] api: sdn: fix missing types for 'pending' fields.
       [not found] ` <20240418164427.13881-2-jcdra1@gmail.com>
@ 2024-04-22 12:01   ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2024-04-22 12:01 UTC (permalink / raw)
  To: Johannes Cornelis Draaijer, pve-devel

Am 18/04/2024 um 18:44 schrieb Johannes Cornelis Draaijer:
> Signed-off-by: Johannes Cornelis Draaijer <jcdra1@gmail.com>
> ---
>  src/PVE/API2/Network/SDN/Controllers.pm | 2 +-
>  src/PVE/API2/Network/SDN/Zones.pm       | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
>

applied, thanks!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-22 12:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20240418164427.13881-1-jcdra1@gmail.com>
2024-04-18 16:44 ` [pve-devel] [PATCH pve-network 1/1] api: sdn: fix missing types for 'pending' fields Johannes Cornelis Draaijer via pve-devel
     [not found] ` <20240418164427.13881-2-jcdra1@gmail.com>
2024-04-22 12:01   ` [pve-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal