Commit d240fded by Nepxion

修复travis-ci编译不过的Bug

parent b9629d41
......@@ -149,7 +149,7 @@ public class PluginRouterController {
String serviceId = instance.get(PluginConstant.SERVICE_ID).toString().toLowerCase();
String version = ((Map<String, String>) instance.get(PluginConstant.METADATA)).get(PluginConstant.VERSION);
String host = instance.get(PluginConstant.HOST).toString();
int port = (int) instance.get(PluginConstant.PORT);
Integer port = (Integer) instance.get(PluginConstant.PORT);
RouteEntity routeEntity = new RouteEntity();
routeEntity.setServiceId(serviceId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment