From 9cf5f56e59dd9580c7b36436d24296ca5fabc94e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Mon, 3 May 2021 15:31:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=A0=E4=B8=BAClusterHelp?= =?UTF-8?q?er=E8=80=8C=E5=AF=BC=E8=87=B4POST=20Action=E5=8F=AF=E8=83=BD?= =?UTF-8?q?=E8=A2=AB=E9=98=BB=E6=AD=A2=E7=9A=84=E6=83=85=E5=BD=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/actions/default/clusters/clusterutils/cluster_helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/web/actions/default/clusters/clusterutils/cluster_helper.go b/internal/web/actions/default/clusters/clusterutils/cluster_helper.go index 3332e99b..7d8826ed 100644 --- a/internal/web/actions/default/clusters/clusterutils/cluster_helper.go +++ b/internal/web/actions/default/clusters/clusterutils/cluster_helper.go @@ -27,7 +27,7 @@ func NewClusterHelper() *ClusterHelper { func (this *ClusterHelper) BeforeAction(actionPtr actions.ActionWrapper) (goNext bool) { action := actionPtr.Object() if action.Request.Method != http.MethodGet { - return + return true } action.Data["teaMenu"] = "clusters"