-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Fix optional spaceId in rules_client #130704
Conversation
Pinging @elastic/response-ops (Team:ResponseOps) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM! but I have two nitpicks 👍
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
* Fix optional spaceId in rules_client
fixes: #129458
plugin.spaces
in alerting plugin is thespaces
plugin itself and there isn't a way to disable it,spaces_service
never returns undefined for spaceId and activeSpace, thereforegetSpace
andgetSpaceId
can never return undefined in alerting plugin.kibana/x-pack/plugins/spaces/server/spaces_service/spaces_service.ts
Line 53 in d0643e0
kibana/x-pack/plugins/spaces/server/spaces_service/spaces_service.ts
Line 65 in d0643e0