Skip to content

Commit 63f3ada

Browse files
authored
fix: incorrect key when updating corresponding blue green nodes (#1479)
1 parent 3b32ac2 commit 63f3ada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wrapper/src/main/java/software/amazon/jdbc/plugin/bluegreen/BlueGreenStatusProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ protected void updateCorrespondingNodes() {
378378
.findFirst()
379379
.ifPresent(y -> this.correspondingNodes.putIfAbsent(blueHost,
380380
Pair.create(
381-
this.hostSpecBuilder.host(y).build(),
381+
this.hostSpecBuilder.host(blueHost).build(),
382382
this.hostSpecBuilder.host(y).build())));
383383
}
384384
});

0 commit comments

Comments
 (0)