forked from Mirror/pve-network
api: sdn: fix missing types for 'pending' fields.
Signed-off-by: Johannes Cornelis Draaijer <jcdra1@gmail.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
835a1ff226
commit
00bf3203a1
|
@ -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}" } ],
|
||||
|
|
|
@ -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},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue