From 03ffa40cbdc7290014e1a4244b471e4b9978dec2 Mon Sep 17 00:00:00 2001 From: Edwin Maldonado Date: Fri, 5 Nov 2021 16:32:45 +0100 Subject: [PATCH 1/2] makes the arguments type an Optional[Hash] --- tasks/init.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/init.json b/tasks/init.json index b8ba32d..17ad564 100644 --- a/tasks/init.json +++ b/tasks/init.json @@ -10,7 +10,7 @@ "description": "Parameters to give to the plan" }, "arguments": { - "type": "Hash", + "type": "Optional[Hash]", "description": "Hash of Bolt arguments to pass, e.g.: {modulepath=>/expl/path, ssl-verify=>false}", "default": { } }, From 37cbbda2d4ed746f8ef6ab3d705df50c15124571 Mon Sep 17 00:00:00 2001 From: Ed Mckain Date: Fri, 5 Nov 2021 16:36:53 +0100 Subject: [PATCH 2/2] removes default value for arguments in module description --- tasks/init.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/init.json b/tasks/init.json index 17ad564..0e4a4ac 100644 --- a/tasks/init.json +++ b/tasks/init.json @@ -11,8 +11,7 @@ }, "arguments": { "type": "Optional[Hash]", - "description": "Hash of Bolt arguments to pass, e.g.: {modulepath=>/expl/path, ssl-verify=>false}", - "default": { } + "description": "Hash of Bolt arguments to pass, e.g.: {modulepath=>/expl/path, ssl-verify=>false}" }, "debug": { "type": "Optional[Boolean]",