Skip to content

Commit ab47ad5

Browse files
committed
Fix existing tests
1 parent 0f2e156 commit ab47ad5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/confcom/azext_confcom/custom.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def acipolicygen_confcom(
3737
virtual_node_yaml_path: str,
3838
infrastructure_svn: str,
3939
tar_mapping_location: str,
40-
container_definitions: list,
40+
container_definitions: Optional[list] = None,
4141
approve_wildcards: str = False,
4242
outraw: bool = False,
4343
outraw_pretty_print: bool = False,
@@ -65,6 +65,9 @@ def acipolicygen_confcom(
6565
"For additional information, see http://aka.ms/clisecrets. \n",
6666
)
6767

68+
if container_definitions is None:
69+
container_definitions = []
70+
6871
stdio_enabled = resolve_stdio(enable_stdio, disable_stdio)
6972

7073
if print_existing_policy and arm_template:

0 commit comments

Comments
 (0)