Skip to content

Commit

Permalink
removed unnecessary variable
Browse files Browse the repository at this point in the history
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
  • Loading branch information
vinaykpud committed Nov 18, 2024
1 parent 9fba602 commit fbb5a20
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ protected SegmentReplicationShardStatsResponse shardOperation(SegmentReplication
}

if (shardRouting.primary()) {
SegmentReplicationPerGroupStats pgs = pressureService.getStatsForShard(indexShard);
return new SegmentReplicationShardStatsResponse(pressureService.getStatsForShard(indexShard));
} else if (shardRouting.isSearchOnly()) {
SegmentReplicationShardStats segmentReplicationShardStats = calcualteSegmentReplicationShardStats(
Expand Down

0 comments on commit fbb5a20

Please sign in to comment.