You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by mi...@apache.org on 2018/11/30 09:49:14 UTC

[incubator-dubbo-ops] branch metadata updated: bug fix

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

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


The following commit(s) were added to refs/heads/metadata by this push:
     new 131a3e2  bug fix
131a3e2 is described below

commit 131a3e22b00c6474d4538ba8d48d8d69f2f2a3b3
Author: nzomkxia <z8...@gmail.com>
AuthorDate: Fri Nov 30 17:49:02 2018 +0800

    bug fix
---
 .../java/org/apache/dubbo/admin/controller/TagRoutesController.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-admin-backend/src/main/java/org/apache/dubbo/admin/controller/TagRoutesController.java b/dubbo-admin-backend/src/main/java/org/apache/dubbo/admin/controller/TagRoutesController.java
index 88a918a..3d23f4f 100644
--- a/dubbo-admin-backend/src/main/java/org/apache/dubbo/admin/controller/TagRoutesController.java
+++ b/dubbo-admin-backend/src/main/java/org/apache/dubbo/admin/controller/TagRoutesController.java
@@ -39,7 +39,7 @@ public class TagRoutesController {
     }
 
     @RequestMapping(value = "/{id}", method = RequestMethod.PUT)
-    public boolean updateRule(@PathVariable String id, @RequestBody TagRouteDTO routeDTO, @PathVariable String dev) {
+    public boolean updateRule(@PathVariable String id, @RequestBody TagRouteDTO routeDTO, @PathVariable String env) {
         if (routeService.findConditionRoute(id) == null) {
             //throw exception
         }