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 10:13:38 UTC

[incubator-dubbo-ops] branch metadata updated: fix tag route path

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 cfcfb79  fix tag route path
cfcfb79 is described below

commit cfcfb79abcb75f7e14cc802d3e6d544f74f1276e
Author: nzomkxia <z8...@gmail.com>
AuthorDate: Fri Nov 30 18:13:28 2018 +0800

    fix tag route path
---
 dubbo-admin-frontend/src/components/governance/TagRule.vue | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dubbo-admin-frontend/src/components/governance/TagRule.vue b/dubbo-admin-frontend/src/components/governance/TagRule.vue
index 96eaae7..6cf38ec 100644
--- a/dubbo-admin-frontend/src/components/governance/TagRule.vue
+++ b/dubbo-admin-frontend/src/components/governance/TagRule.vue
@@ -281,7 +281,7 @@
         let id = warnStatus.id
         let operation = warnStatus.operation
         if (operation === 'delete') {
-          this.$axios.delete('/rules/tag/' + id)
+          this.$axios.delete('/rules/route/tag/' + id)
             .then(response => {
               if (response.status === 200) {
                 this.warn = false
@@ -290,7 +290,7 @@
               }
             })
         } else if (operation === 'disable') {
-          this.$axios.put('/rules/tag/disable/' + id)
+          this.$axios.put('/rules/route/tag/disable/' + id)
             .then(response => {
               if (response.status === 200) {
                 this.warn = false
@@ -299,7 +299,7 @@
               }
             })
         } else if (operation === 'enable') {
-          this.$axios.put('/rules/tag/enable/' + id)
+          this.$axios.put('/rules/route/tag/enable/' + id)
             .then(response => {
               if (response.status === 200) {
                 this.warn = false