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/10/15 03:00:21 UTC

[incubator-dubbo-ops] branch develop updated: access controller

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 f3267bf  access controller
f3267bf is described below

commit f3267bf962eccc49f68ad86aed67ae6c9388e4a6
Author: nzomkxia <z8...@gmail.com>
AuthorDate: Mon Oct 15 11:00:07 2018 +0800

    access controller
---
 .../main/java/org/apache/dubbo/admin/controller/AccessesController.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-admin-backend/src/main/java/org/apache/dubbo/admin/controller/AccessesController.java b/dubbo-admin-backend/src/main/java/org/apache/dubbo/admin/controller/AccessesController.java
index 3e03aeb..967296b 100644
--- a/dubbo-admin-backend/src/main/java/org/apache/dubbo/admin/controller/AccessesController.java
+++ b/dubbo-admin-backend/src/main/java/org/apache/dubbo/admin/controller/AccessesController.java
@@ -86,7 +86,7 @@ public class AccessesController {
         }
     }
 
-    @RequestMapping(value = "{id}", method = RequestMethod.DELETE)
+    @RequestMapping(value = "/{id}", method = RequestMethod.DELETE)
     public void deleteAccess(@PathVariable String id, @PathVariable String env) {
         if (id == null) {
             throw new IllegalArgumentException("Argument of id is null!");