Skip to content

Commit

Permalink
[MINOR] fix(typo): Correct the removeShuffle method name (#1697)
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

remoteShuffle -> removeShuffle

### Why are the changes needed?

Fix spelling errors.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Existing UTs.
  • Loading branch information
rickyma authored May 13, 2024
1 parent 8e26a34 commit d4a5fb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public void removeResources(String shuffleKey) {
LOG.info("Start to remove resource of {}", shuffleKey);
try {
metaData.updateDiskSize(-metaData.getShuffleSize(shuffleKey));
metaData.remoteShuffle(shuffleKey);
metaData.removeShuffle(shuffleKey);
LOG.info(
"Finish remove resource of {}, disk size is {} and {} shuffle metadata",
shuffleKey,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void prepareStartRead(String shuffleId) {
}
}

public void remoteShuffle(String shuffleKey) {
public void removeShuffle(String shuffleKey) {
shuffleMetaMap.remove(shuffleKey);
}

Expand Down

0 comments on commit d4a5fb7

Please sign in to comment.