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

[7.x][Heartbeat] Support for multiple status codes #13595 (#15587) #15720

Merged
merged 2 commits into from
Jan 22, 2020

Conversation

andrewvc
Copy link
Contributor

@andrewvc andrewvc commented Jan 21, 2020

Allow for multiple status codes in config. Fixes #13595

Backport of #15587

…15587)

Allow for multiple status codes in config. Fixes elastic#13595

(cherry picked from commit 4a408e5)
@andrewvc andrewvc requested a review from a team as a code owner January 21, 2020 21:41
@elasticmachine
Copy link
Collaborator

Pinging @elastic/uptime (:uptime)

@ycombinator
Copy link
Contributor

ycombinator commented Jan 21, 2020

@andrewvc Wouldn't this be a breaking change? Or will the old syntax of a single status code still work? Asking since this PR targets a minor release branch.

@ycombinator
Copy link
Contributor

Also, should there be a CHANGELOG entry for this change (in master as well as in this backport to 7.x)?

@andrewvc
Copy link
Contributor Author

@ycombinator the old syntax still works a single value gets coerced into an array, but good looking out for the changelog! That didn't make it into master either. I'll make a separate changelog only PR for master then merge that into here to keep the number of PRs down.

Copy link
Contributor

@ycombinator ycombinator left a comment

Choose a reason for hiding this comment

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

LGTM

@andrewvc andrewvc changed the title [Heartbeat] Support for multiple status codes #13595 (#15587) [7.x][Heartbeat] Support for multiple status codes #13595 (#15587) Jan 22, 2020
@andrewvc andrewvc merged commit 75e5485 into elastic:7.x Jan 22, 2020
@andrewvc andrewvc deleted the backport_15587_7.x branch January 22, 2020 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants