From d6c5a76dd12ad493a98d0a6ea17dd45393c9bfaf Mon Sep 17 00:00:00 2001 From: nkorange Date: Fri, 2 Aug 2019 12:32:11 +0800 Subject: [PATCH] Fix bug --- .../com/alibaba/nacos/naming/controllers/InstanceController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/naming/src/main/java/com/alibaba/nacos/naming/controllers/InstanceController.java b/naming/src/main/java/com/alibaba/nacos/naming/controllers/InstanceController.java index 1afac6d40..c8b4cb829 100644 --- a/naming/src/main/java/com/alibaba/nacos/naming/controllers/InstanceController.java +++ b/naming/src/main/java/com/alibaba/nacos/naming/controllers/InstanceController.java @@ -376,6 +376,7 @@ public class InstanceController { Loggers.SRV_LOG.debug("no instance to serve for service: " + serviceName); } result.put("name", serviceName); + result.put("clusters", clusters); result.put("hosts", new JSONArray()); return result; }