File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
java/server/src/org/openqa/grid/internal/utils Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 2727import org .openqa .grid .common .exception .GridException ;
2828import org .openqa .grid .internal .utils .configuration .GridHubConfiguration ;
2929import org .openqa .grid .internal .utils .configuration .GridNodeConfiguration ;
30- import org .openqa .grid .internal .utils .configuration .StandaloneConfiguration ;
3130import org .openqa .grid .shared .GridNodeServer ;
3231import org .openqa .grid .web .servlet .DisplayHelpServlet ;
3332import org .openqa .grid .web .servlet .NodeW3CStatusServlet ;
@@ -350,7 +349,7 @@ private GridHubConfiguration getHubConfiguration() throws Exception {
350349 HttpResponse response = client .execute (request );
351350 try (Reader reader = new StringReader (response .getContentString ());
352351 JsonInput jsonInput = new Json ().newInput (reader )) {
353- return StandaloneConfiguration . loadFromJson (jsonInput , GridHubConfiguration . class );
352+ return GridHubConfiguration . loadFromJSON (jsonInput );
354353 }
355354 }
356355
You can’t perform that action at this time.
0 commit comments