Skip to content

Commit

Permalink
Fix a bug in starting up the server with unknown role types
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Jun 25, 2016
1 parent f56924e commit 4243f8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private static GridItemLauncher buildLauncher(String[] args) {
return null;
}

Supplier<GridItemLauncher> supplier = LAUNCHERS.get(gridRole);
Supplier<GridItemLauncher> supplier = LAUNCHERS.get(gridRole.toString());
if (supplier == null) {
System.err.println("Unknown role: " + gridRole);
return null;
Expand Down

0 comments on commit 4243f8c

Please sign in to comment.