From 96fd86297814f774a64e9138c0d2dd2dc6dde197 Mon Sep 17 00:00:00 2001 From: GLYASAI Date: Mon, 8 Jul 2019 14:50:18 +0800 Subject: [PATCH] [FIX] no gateway nodes are available --- grctl/cmd/cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grctl/cmd/cluster.go b/grctl/cmd/cluster.go index 4a4883c20..141ab8117 100644 --- a/grctl/cmd/cluster.go +++ b/grctl/cmd/cluster.go @@ -211,7 +211,7 @@ func clusterStatus(roleList []map[string]string, ReadyList []map[string]string) manageFlag = true } if strings.Contains(v["role"], "gateway") && v["status"] == "running" { - manageFlag = true + gatewayFlag = true } } if !manageFlag {