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

Ensure serverless.mode/operator are always set #1759

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

pquentin
Copy link
Member

@pquentin pquentin commented Aug 9, 2023

And invert one condition to avoid using not.

The idea is to avoid having to encode the default value (with the annoying mandatory=False) in every place where we will read those configuration values.

And invert one condition to avoid using `not`.
@pquentin pquentin added the cleanup Linter changes, reformatting, removal of unused code etc. label Aug 9, 2023
@pquentin pquentin added this to the 2.9.0 milestone Aug 9, 2023
@pquentin pquentin self-assigned this Aug 9, 2023
@pquentin pquentin added the :misc Changes that don't affect users directly: linter fixes, test improvements, etc. label Aug 9, 2023
Copy link
Contributor

@gbanasiak gbanasiak left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@gareth-ellis gareth-ellis left a comment

Choose a reason for hiding this comment

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

LGTM

@pquentin pquentin merged commit bb51612 into elastic:master Aug 9, 2023
@pquentin pquentin deleted the serverless-cfg branch August 9, 2023 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Linter changes, reformatting, removal of unused code etc. :misc Changes that don't affect users directly: linter fixes, test improvements, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants