From 257dde1d5edab8e83cd42cc907b00982068d1882 Mon Sep 17 00:00:00 2001 From: Eric Zhao Date: Thu, 8 Nov 2018 16:59:00 +0800 Subject: [PATCH] Some improvements for Sentinel dashboard Signed-off-by: Eric Zhao --- .../csp/sentinel/dashboard/view/ParamFlowRuleController.java | 2 +- .../webapp/resources/app/views/dialog/flow-rule-dialog.html | 4 ++-- .../src/main/webapp/resources/app/views/flow.html | 2 +- .../src/main/webapp/resources/app/views/metric.html | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sentinel-dashboard/src/main/java/com/taobao/csp/sentinel/dashboard/view/ParamFlowRuleController.java b/sentinel-dashboard/src/main/java/com/taobao/csp/sentinel/dashboard/view/ParamFlowRuleController.java index 7b897fdd..817fdafc 100644 --- a/sentinel-dashboard/src/main/java/com/taobao/csp/sentinel/dashboard/view/ParamFlowRuleController.java +++ b/sentinel-dashboard/src/main/java/com/taobao/csp/sentinel/dashboard/view/ParamFlowRuleController.java @@ -239,7 +239,7 @@ public class ParamFlowRuleController { } private Result unsupportedVersion() { - return Result.ofFail(4041, "Sentinel client version not supported for parameter flow control"); + return Result.ofFail(4041, "Sentinel client not supported for parameter flow control (unsupported version or dependency absent)"); } private final SentinelVersion version020 = new SentinelVersion().setMinorVersion(2); diff --git a/sentinel-dashboard/src/main/webapp/resources/app/views/dialog/flow-rule-dialog.html b/sentinel-dashboard/src/main/webapp/resources/app/views/dialog/flow-rule-dialog.html index f7d049a8..6ade264a 100755 --- a/sentinel-dashboard/src/main/webapp/resources/app/views/dialog/flow-rule-dialog.html +++ b/sentinel-dashboard/src/main/webapp/resources/app/views/dialog/flow-rule-dialog.html @@ -38,7 +38,7 @@
- +
 直接   @@ -63,7 +63,7 @@
- +
 快速失败   diff --git a/sentinel-dashboard/src/main/webapp/resources/app/views/flow.html b/sentinel-dashboard/src/main/webapp/resources/app/views/flow.html index 36a48421..a349c9aa 100755 --- a/sentinel-dashboard/src/main/webapp/resources/app/views/flow.html +++ b/sentinel-dashboard/src/main/webapp/resources/app/views/flow.html @@ -46,7 +46,7 @@ 单机阈值 - 流控方式 + 流控效果 diff --git a/sentinel-dashboard/src/main/webapp/resources/app/views/metric.html b/sentinel-dashboard/src/main/webapp/resources/app/views/metric.html index af48fcf0..ed08eb74 100755 --- a/sentinel-dashboard/src/main/webapp/resources/app/views/metric.html +++ b/sentinel-dashboard/src/main/webapp/resources/app/views/metric.html @@ -15,9 +15,9 @@ {{metricTypeDesc}} 实时监控 - -