eureka
tanghc 4 years ago
parent 6a22223e8b
commit 6c20be6501
  1. 2
      sop-common/sop-bridge-eureka/src/main/java/com/gitee/sop/bridge/route/EurekaRegistryListener.java

@ -54,7 +54,7 @@ public class EurekaRegistryListener extends BaseRegistryListener {
if (startupTime == null) {
return null;
}
return new ServiceHolder(instanceInfo.getAppName(), instanceInfo.getLastUpdatedTimestamp());
return new ServiceHolder(instanceInfo.getAppName(), Long.parseLong(startupTime));
}).orElse(null);
})
.filter(Objects::nonNull)

Loading…
Cancel
Save