From: Alexandre Derumier Date: Mon, 17 Jun 2019 09:26:35 +0000 (+0200) Subject: api: add missing additional properties=0 on network reload/revert X-Git-Url: https://git.proxmox.com/?p=pve-network.git;a=commitdiff_plain;h=d134f9865909a887b90cb506bc82c85575ac7b53 api: add missing additional properties=0 on network reload/revert Signed-off-by: Alexandre Derumier --- diff --git a/PVE/API2/Network/SDN.pm b/PVE/API2/Network/SDN.pm index 2efc620..79aff4a 100644 --- a/PVE/API2/Network/SDN.pm +++ b/PVE/API2/Network/SDN.pm @@ -163,6 +163,9 @@ __PACKAGE__->register_method ({ # permissions => { # check => ['perm', '/cluster/network', ['Network.Allocate']], # }, + parameters => { + additionalProperties => 0, + }, returns => { type => 'null' }, code => sub { my ($param) = @_; @@ -184,6 +187,9 @@ __PACKAGE__->register_method ({ # permissions => { # check => ['perm', '/cluster/network', ['Network.Allocate']], # }, + parameters => { + additionalProperties => 0, + }, returns => { type => 'null' }, code => sub { my ($param) = @_;