Skip to content

Commit 4243f8c

Browse files
committed
Fix a bug in starting up the server with unknown role types
1 parent f56924e commit 4243f8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/server/src/org/openqa/grid/selenium/GridLauncherV3.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ private static GridItemLauncher buildLauncher(String[] args) {
115115
return null;
116116
}
117117

118-
Supplier<GridItemLauncher> supplier = LAUNCHERS.get(gridRole);
118+
Supplier<GridItemLauncher> supplier = LAUNCHERS.get(gridRole.toString());
119119
if (supplier == null) {
120120
System.err.println("Unknown role: " + gridRole);
121121
return null;

0 commit comments

Comments
 (0)