Skip to content

Ensure serverless.mode/operator are always set#1759

Merged
pquentin merged 1 commit intoelastic:masterfrom
pquentin:serverless-cfg
Aug 9, 2023
Merged

Ensure serverless.mode/operator are always set#1759
pquentin merged 1 commit intoelastic:masterfrom
pquentin:serverless-cfg

Conversation

@pquentin
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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