[pve-devel] applied: [PATCH firewall] macro: fix return verification failure

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Nov 29 14:43:44 CET 2018


On 11/29/18 2:29 PM, Dominik Csapak wrote:
> macros are strings not integers
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  src/PVE/API2/Firewall/Rules.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/PVE/API2/Firewall/Rules.pm b/src/PVE/API2/Firewall/Rules.pm
> index b2a81a1..1670986 100644
> --- a/src/PVE/API2/Firewall/Rules.pm
> +++ b/src/PVE/API2/Firewall/Rules.pm
> @@ -150,7 +150,7 @@ sub register_get_rule {
>  		    optional => 1,
>  		},
>  		macro => {
> -		    type => 'integer',
> +		    type => 'string',
>  		    optional => 1,
>  		},
>  		pos => {
> 

applied, thanks!




More information about the pve-devel mailing list