Skip to content

skip running of configuration checks while only a single configuration level is taken into account during --show-config#2567

Merged
migueldiascosta merged 5 commits intoeasybuilders:developfrom
boegel:show_config_fix
Sep 11, 2018
Merged

skip running of configuration checks while only a single configuration level is taken into account during --show-config#2567
migueldiascosta merged 5 commits intoeasybuilders:developfrom
boegel:show_config_fix

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Sep 6, 2018

fixes #2564 (cc @omula)

Without this change, the postprocess method was triggered several times when --show-config is used: once for the initial processing of the configuration options, and then a couple times more while while the show_method figures out on which configuration level each setting was defined.

This change skips the configuration checks part that was done in postprocess when show_config is triggered (but the checks are still run during the initial processing of the configuration options).

@boegel boegel added the bug fix label Sep 6, 2018
@boegel boegel added this to the 3.7.0 milestone Sep 6, 2018
@boegel boegel requested a review from vanzod September 6, 2018 18:30
@easybuilders easybuilders deleted a comment from boegelbot Sep 6, 2018
Copy link
Copy Markdown
Member

@migueldiascosta migueldiascosta left a comment

Choose a reason for hiding this comment

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

lgtm

@migueldiascosta migueldiascosta merged commit 43ab583 into easybuilders:develop Sep 11, 2018
@boegel boegel deleted the show_config_fix branch September 11, 2018 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants