-
Notifications
You must be signed in to change notification settings - Fork 300
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
Switch from ImmutableOpenMap to Map in AliasExistsMatcher #2725
Conversation
Signed-off-by: Craig Perkins <[email protected]>
a6bd872
to
a0c8923
Compare
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
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.
Looks like there are 3 other places that could use this update, mind making these changes all at once? https://github.com/search?q=repo%3Aopensearch-project%2Fsecurity%20ObjectObjectCursor&type=code
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #2725 +/- ##
============================================
- Coverage 61.48% 61.43% -0.06%
Complexity 3394 3394
============================================
Files 272 272
Lines 18743 18743
Branches 3285 3285
============================================
- Hits 11524 11514 -10
- Misses 5616 5626 +10
Partials 1603 1603 |
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
for (String index : expectedIndices) { | ||
if (!indexToSettings.containsKey(index)) { | ||
mismatchDescription | ||
.appendText("Response contains settings of indices: ") | ||
.appendValue(indexToSettings.keySet()); | ||
.appendValue(indexToSettings.keys()); |
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.
@scrawfor99 Sorry I had to push a small change and now CI is running again. I had this as keysIt
when it really should be the key set here.
…-project#2725) * Remove references to ObjectObjectCursor Signed-off-by: Craig Perkins <[email protected]> Signed-off-by: Maciej Mierzwa <[email protected]>
…-project#2725) * Remove references to ObjectObjectCursor Signed-off-by: Craig Perkins <[email protected]> Signed-off-by: Maciej Mierzwa <[email protected]>
…-project#2725) * Remove references to ObjectObjectCursor Signed-off-by: Craig Perkins <[email protected]> Signed-off-by: Maciej Mierzwa <[email protected]>
…-project#2725) * Remove references to ObjectObjectCursor Signed-off-by: Craig Perkins <[email protected]> Signed-off-by: Sam <[email protected]>
…-project#2725) * Remove references to ObjectObjectCursor Signed-off-by: Craig Perkins <[email protected]>
…-project#2725) * Remove references to ObjectObjectCursor Signed-off-by: Craig Perkins <[email protected]>
* Resolve ImmutableOpenMap issue from core refactor (#2715) * Switch from ImmutableOpenMap to Map in AliasExistsMatcher (#2725) * Remove references to ObjectObjectCursor Signed-off-by: Craig Perkins <[email protected]> * Switch from ImmutableOpenMap to Map in AliasExistsMatcher (#2725) * Remove references to ObjectObjectCursor Signed-off-by: Craig Perkins <[email protected]> * Removes a missed reference for ImmutableOpenMap (#2726) Signed-off-by: Darshit Chanpura <[email protected]> * Update ClusterInfoHolder Signed-off-by: Craig Perkins <[email protected]> * Run spotlessApply Signed-off-by: Craig Perkins <[email protected]> --------- Signed-off-by: Craig Perkins <[email protected]> Signed-off-by: Darshit Chanpura <[email protected]> Co-authored-by: Stephen Crawford <[email protected]> Co-authored-by: Darshit Chanpura <[email protected]>
Description
Addresses comments raised here: #2715 (comment)
There is a compilation error in AliasExistsMatcher and this fixes the issue.
Maintenance
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.