-
Notifications
You must be signed in to change notification settings - Fork 2
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
DEVPROD-8113: Define optional variable before referencing and add support for mongo default variants #22
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once you fix the bug, be sure to also test the block for mongo default build variants. We should use default regexes in the subsequent build_checks
.
if display_variant_name: | ||
display_variant_name_checks = display_variant_name | ||
|
||
display_variant_name_checks = display_variant_name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably won't fix the bug user reported, because he didn't pass display_variant_name
explicitly, so the condition if display_variant_name is not None
here should have been evaluated False
. Maybe it's an empty list or something, not None
. We should probably change it to if display_variant_name
.
@zituo-jin ran with both our test cases and it worked. I also fixed some tests that needed to be updated with the new changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Can we add a jira ticket to the PR title before merging?
…port for mongo default variants (#22)
No description provided.