From 03005e30aeeae3e6f892261c4662ec640076ec4e Mon Sep 17 00:00:00 2001 From: 9547 Date: Sat, 27 Mar 2021 14:13:37 +0800 Subject: [PATCH 1/2] cluster: Type -> Rule in confirmTopology --- pkg/cluster/manager/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cluster/manager/manager.go b/pkg/cluster/manager/manager.go index 4fb09d6096..dbdbee2732 100644 --- a/pkg/cluster/manager/manager.go +++ b/pkg/cluster/manager/manager.go @@ -87,7 +87,7 @@ func (m *Manager) confirmTopology(name, version string, topo spec.Topology, patc clusterTable := [][]string{ // Header - {"Type", "Host", "Ports", "OS/Arch", "Directories"}, + {"Rule", "Host", "Ports", "OS/Arch", "Directories"}, } topo.IterInstance(func(instance spec.Instance) { From cca34f498afb0489d9a7aa834e881e014fc7299e Mon Sep 17 00:00:00 2001 From: 9547 Date: Tue, 30 Mar 2021 00:47:01 +0800 Subject: [PATCH 2/2] cluster: fix typo(Rule -> Role) --- pkg/cluster/manager/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cluster/manager/manager.go b/pkg/cluster/manager/manager.go index dbdbee2732..822591582e 100644 --- a/pkg/cluster/manager/manager.go +++ b/pkg/cluster/manager/manager.go @@ -87,7 +87,7 @@ func (m *Manager) confirmTopology(name, version string, topo spec.Topology, patc clusterTable := [][]string{ // Header - {"Rule", "Host", "Ports", "OS/Arch", "Directories"}, + {"Role", "Host", "Ports", "OS/Arch", "Directories"}, } topo.IterInstance(func(instance spec.Instance) {