Commit e61ba693 by Nepxion

重构类结构

parent 59317455
......@@ -35,6 +35,10 @@ public class EurekaAdapter extends AbstractPluginAdapter {
if (registration instanceof EurekaRegistration) {
EurekaRegistration eurekaRegistration = (EurekaRegistration) registration;
if (eurekaRegistration.getInstanceConfig().getSecurePortEnabled()) {
return eurekaRegistration.getInstanceConfig().getSecurePort();
}
return eurekaRegistration.getInstanceConfig().getNonSecurePort();
}
......
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