Skip to content

Commit 8828d59

Browse files
committed
Fixing conflict of -nodeConfig and -hub options
1 parent 1cffee4 commit 8828d59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/server/src/org/openqa/grid/internal/utils/configuration/GridNodeConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,8 @@ public void merge(GridNodeConfiguration other) {
394394
if (isMergeAble(other.downPollingLimit, downPollingLimit)) {
395395
downPollingLimit = other.downPollingLimit;
396396
}
397-
if (isMergeAble(other.hub, hub)) {
398-
hub = other.hub;
397+
if (isMergeAble(other.hubOption, hubOption)) {
398+
hubOption = other.hubOption;
399399
}
400400
if (isMergeAble(other.hubHost, hubHost)) {
401401
hubHost = other.hubHost;

0 commit comments

Comments
 (0)