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

Dominik Csapak d.csapak at proxmox.com
Thu Nov 29 14:29:03 CET 2018


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 => {
-- 
2.11.0





More information about the pve-devel mailing list