Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch empty collection lists #332

Merged
merged 1 commit into from
Sep 6, 2023
Merged

Catch empty collection lists #332

merged 1 commit into from
Sep 6, 2023

Conversation

lod
Copy link
Contributor

@lod lod commented Sep 6, 2023

A file with just collections: in it leads to {'collections':None} which makes the loop sad. Easier to catch it here.

Fixes: ansible/molecule#4034

A file with just `collections:` in it leads to `{'collections':None}` which makes the loop sad.  Easier to catch it here.

Fixes #4034
@lod lod requested a review from a team as a code owner September 6, 2023 01:06
@audgirka audgirka added the bug Something isn't working label Sep 6, 2023
@ssbarnea ssbarnea merged commit 1ee6d53 into ansible:main Sep 6, 2023
19 of 20 checks passed
@lod lod deleted the patch-1 branch September 17, 2023 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New collection --pre handling breaks on empty list
3 participants