Commit 10b9281f by lepdou

update

parent b2b9dcd0
......@@ -87,9 +87,10 @@ public class AdminServiceAddressLocator {
try {
ServiceDTO[] services = getAdminServerAddress(env);
if (services != null && services.length > 0) {
cache.put(env, Arrays.asList(services));
if (services == null || services.length == 0) {
continue;
}
cache.put(env, Arrays.asList(services));
break;
} catch (Throwable e) {//meta server error
Cat.logError("get admin server address fail", e);
......
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