Skip to content

Chore: Enable push gateway only if the server is registered#22346

Merged
pierre-lehnen-rc merged 2 commits into
developfrom
fix/push-gateway-setting
Jun 16, 2021
Merged

Chore: Enable push gateway only if the server is registered#22346
pierre-lehnen-rc merged 2 commits into
developfrom
fix/push-gateway-setting

Conversation

@lucassartor

Copy link
Copy Markdown
Contributor

Proposed changes (including videos or screenshots)

Currently, when creating an unregistered server, the default value of the push gateway setting is set to true and is disabled (it can't be changed unless the server is registered). This is a wrong behavior as an unregistered server can't use the push gateway.

This PR creates a validation to check if the server is registered when enabling the push gateway. That way, even if the push gateway setting is turned on, but the server is unregistered, the push gateway won't work - it will behave like it is off.

Issue(s)

ClickUp Task

Steps to test or reproduce

Further comments

@lucassartor lucassartor requested a review from a team June 14, 2021 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants