Skip to content

Commit 58c281f

Browse files
authored
Fix incorrect constructor param ordering in ShardRouting (opensearch-project#18248)
Signed-off-by: Marc Handalian <marc.handalian@gmail.com>
1 parent c060f92 commit 58c281f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/opensearch/cluster/routing/ShardRouting.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ protected ShardRouting(
122122

123123
protected ShardRouting(
124124
ShardId shardId,
125-
String relocatingNodeId,
126125
String currentNodeId,
126+
String relocatingNodeId,
127127
boolean primary,
128128
ShardRoutingState shardRoutingState,
129129
RecoverySource recoverySource,
@@ -133,8 +133,8 @@ protected ShardRouting(
133133
) {
134134
this(
135135
shardId,
136-
relocatingNodeId,
137136
currentNodeId,
137+
relocatingNodeId,
138138
primary,
139139
false,
140140
shardRoutingState,

0 commit comments

Comments
 (0)