This is an automated email from the ASF dual-hosted git repository.

min pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-ops.git


The following commit(s) were added to refs/heads/develop by this push:
     new a7808af  fix search by ip
a7808af is described below

commit a7808af10f1c0f59bb0e133695451de49412e808
Author: nzomkxia <z82507...@gmail.com>
AuthorDate: Fri Nov 2 17:50:42 2018 +0800

    fix search by ip
---
 .../main/java/org/apache/dubbo/admin/controller/ServiceController.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dubbo-admin-backend/src/main/java/org/apache/dubbo/admin/controller/ServiceController.java
 
b/dubbo-admin-backend/src/main/java/org/apache/dubbo/admin/controller/ServiceController.java
index 361c962..34b38e4 100644
--- 
a/dubbo-admin-backend/src/main/java/org/apache/dubbo/admin/controller/ServiceController.java
+++ 
b/dubbo-admin-backend/src/main/java/org/apache/dubbo/admin/controller/ServiceController.java
@@ -81,7 +81,7 @@ public class ServiceController {
                         key = provider.getService().toLowerCase();
                         break;
                     case "ip":
-                        key = provider.getService().toLowerCase();
+                        key = provider.getAddress().toLowerCase();
                         break;
                 }
                 if (key != null && key.contains(filter)) {

Reply via email to