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

[ws-daemon] Don't accept config with unknown fields #4942

Merged
merged 3 commits into from
Jul 26, 2021

Conversation

csweichel
Copy link
Contributor

This PR makes ws-daemon and ws-manager fail on startup if the config file contains unknown fields. Such fields are often indicative of misconfiguration.

Note: this will most certainly impact prod config.

fixes #4940

/cc @meysholdt

@csweichel
Copy link
Contributor Author

/auto-cc

@csweichel
Copy link
Contributor Author

/hold

until @meysholdt is aware of this change

@aledbf
Copy link
Member

aledbf commented Jul 25, 2021

/lgtm

@roboquat
Copy link
Contributor

LGTM label has been added.

Git tree hash: 8a4a6febd8e44a8b4b41af9ba343889c9e23e626

@roboquat roboquat added the lgtm label Jul 25, 2021
@roboquat
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aledbf, csweichel

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@csweichel
Copy link
Contributor Author

/hold cancel

@roboquat roboquat merged commit 40f913c into main Jul 26, 2021
@roboquat roboquat deleted the csweichel/ws-daemon-don-t-accept-4940 branch July 26, 2021 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ws-daemon] Don't accept configuration with unknown fields
3 participants