From 8cfec58e700d7805cf24632a7b29e88067810d4f Mon Sep 17 00:00:00 2001 From: MichalKalke Date: Tue, 2 Jul 2024 08:49:37 +0200 Subject: [PATCH] Change control-plane field to managed --- internal/communitymodules/modules.go | 2 +- internal/communitymodules/render.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/communitymodules/modules.go b/internal/communitymodules/modules.go index 6cd641584..c9c90b3b0 100644 --- a/internal/communitymodules/modules.go +++ b/internal/communitymodules/modules.go @@ -95,7 +95,7 @@ func ManagedModules(client cmdcommon.KubeClientConfig, cfg cmdcommon.KymaConfig) for _, name := range moduleNames { managed[name] = row{ Name: name, - Managed: "Managed", + Managed: "Yes", } } return managed, nil diff --git a/internal/communitymodules/render.go b/internal/communitymodules/render.go index a2049332a..099aaf1e9 100644 --- a/internal/communitymodules/render.go +++ b/internal/communitymodules/render.go @@ -10,7 +10,7 @@ import ( func RenderTableForCollective(raw bool, moduleMap moduleMap) { renderTable(raw, convertRowToCollective(moduleMap), - []string{"NAME", "REPOSITORY", "VERSION INSTALLED", "CONTROL-PLANE"}) + []string{"NAME", "REPOSITORY", "VERSION INSTALLED", "MANAGED"}) } func convertRowToCollective(moduleMap moduleMap) [][]string {