forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Watcher API watcher_get_settings clears product header (elastic#…
…103003) (elastic#103256) Current code do stashing and un-stashing of the context to ignore warning headers about accessing a system index. However, this ignores all header, omitting the X-elastic-product header from the response. This PR removes the stashing/un-stashing and instead calls the concreteIndexNames variant that allows system index access (which does not generate the warning), concreteIndexNamesWithSystemIndexAccess
- Loading branch information
Showing
3 changed files
with
43 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 103003 | ||
summary: "Fix: Watcher REST API `GET /_watcher/settings` now includes product header" | ||
area: "Watcher" | ||
type: bug | ||
issues: | ||
- 102928 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters