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

Fixes #200 #201

Merged
merged 1 commit into from
Jan 23, 2024
Merged

Fixes #200 #201

merged 1 commit into from
Jan 23, 2024

Conversation

mira-miracoli
Copy link
Collaborator

@mira-miracoli mira-miracoli commented Jan 16, 2024

I tested this with my test instance, but please check if there could be scenarios where we don't want to remove configuration keys with length = 0

I nominate this for the ugliest jinja2 solution

Copy link
Member

@hexylena hexylena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me, clean out empty mapping keys because they are for some horrid reason semantically meaningfully different from an unset one

@mira-miracoli
Copy link
Collaborator Author

Just to be sure (even if I tested on my test instance) @cat-bro is this fix working for you?

@hexylena
Copy link
Member

@cat-bro if it is working, then please merge it :)

@cat-bro
Copy link
Collaborator

cat-bro commented Jan 23, 2024

It is, thanks @mira-miracoli !

@cat-bro cat-bro merged commit 7650a92 into main Jan 23, 2024
7 of 15 checks passed
@cat-bro cat-bro deleted the fix-empty-dicts branch January 23, 2024 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatic addition of themes_config_file_by_host: {} disables themes
3 participants