Fix NPE
This commit is contained in:
parent
7ddaf19106
commit
1915e9c087
@ -375,6 +375,7 @@ public class InstanceController {
|
||||
if (Loggers.DEBUG_LOG.isDebugEnabled()) {
|
||||
Loggers.DEBUG_LOG.debug("no instance to serve for service: " + serviceName);
|
||||
}
|
||||
result.put("name", serviceName);
|
||||
result.put("hosts", new JSONArray());
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user