Skip to content

[Bug] Merging empty lists halts subsequent environment variable processing #35

@twsearle

Description

@twsearle

Current behavior (describe the bug)

Subsequent to merging a file containing an empty list, no further env variables are processed.

To Reproduce

Make the following files:

./empty_include.yaml

[]

./test.yaml

- filter: ${VARIABLE_1}
- INCLUDE: empty_include.yaml
  MERGE: true
- filter: ${VARIABLE_1}

Process with VARIABLE_1=test yp-data test.yaml -o test_out.yaml

Output is:

./test_out.yaml

- filter: test
- filter: ${VARIABLE_1}

Expected behavior

Output ought to be:

- filter: test
- filter: test

Metadata

Metadata

Labels

bugSomething is not working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions