-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 typo super->sb in method toString() of RemoteStoreNodeAttribute #15362
Fix typo super->sb in method toString() of RemoteStoreNodeAttribute #15362
Conversation
Signed-off-by: Dmitry Kryukov <dk2k@ya.ru>
❌ Gradle check result for 2d1830c: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Same comment as #15360 (comment) please. |
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.
The result of this change is to override Object.toString()
to return Object.toString()
. If that were the case, deleting the method would be better.
But it seems clear that super
is intended to be sb
here.
server/src/main/java/org/opensearch/node/remotestore/RemoteStoreNodeAttribute.java
Show resolved
Hide resolved
This PR is stalled because it has been open for 30 days with no activity. |
Signed-off-by: Dmitry Kryukov <dk2k@ya.ru>
Signed-off-by: Dmitry Kryukov <dk2k@ya.ru>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15362 +/- ##
============================================
+ Coverage 71.98% 72.04% +0.06%
- Complexity 64810 64823 +13
============================================
Files 5307 5308 +1
Lines 302719 302727 +8
Branches 43734 43734
============================================
+ Hits 217912 218100 +188
+ Misses 66915 66729 -186
- Partials 17892 17898 +6 ☔ View full report in Codecov by Sentry. |
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!
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-2.x
# Create a new branch
git switch --create backport/backport-15362-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 0419e5d8a5b5327663c09e93feb931281da7b64e
# Push it to GitHub
git push --set-upstream origin backport/backport-15362-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-2.x Then, create a pull request where the |
…pensearch-project#15362) * Removed unused StringBuilder Signed-off-by: Dmitry Kryukov <dk2k@ya.ru> * Restored lines, fixed typo super -> sb Signed-off-by: Dmitry Kryukov <dk2k@ya.ru> * Updated CHANGELOG.md Signed-off-by: Dmitry Kryukov <dk2k@ya.ru> --------- Signed-off-by: Dmitry Kryukov <dk2k@ya.ru>
…pensearch-project#15362) * Removed unused StringBuilder Signed-off-by: Dmitry Kryukov <dk2k@ya.ru> * Restored lines, fixed typo super -> sb Signed-off-by: Dmitry Kryukov <dk2k@ya.ru> * Updated CHANGELOG.md Signed-off-by: Dmitry Kryukov <dk2k@ya.ru> --------- Signed-off-by: Dmitry Kryukov <dk2k@ya.ru>
Created the backport. @dk2k please help us out here; while you are correctly signing your commits with DCO (thank you) your GitHub commits are coming from a "noreply" address, and when we backport to the 2.x branch the DCO is failing due to the "Author address" mismatch. Please update your GitHub profile to use the same address you're signing your DCO commits with. |
Removed unused StringBuilder