From c2e0d152d3c5e1bb0567095d09f044e68170081e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Mon, 24 Apr 2023 15:18:38 +0200 Subject: [PATCH 1/2] Fix --- cmd/scw/testdata/test-all-usage-k8s-usage.golden | 2 +- docs/commands/k8s.md | 2 +- internal/namespaces/k8s/v1/k8s_cli.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/scw/testdata/test-all-usage-k8s-usage.golden b/cmd/scw/testdata/test-all-usage-k8s-usage.golden index d2eed48ccf..5915542a7e 100644 --- a/cmd/scw/testdata/test-all-usage-k8s-usage.golden +++ b/cmd/scw/testdata/test-all-usage-k8s-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -Kapsule API. +Kubernetes API. USAGE: scw k8s diff --git a/docs/commands/k8s.md b/docs/commands/k8s.md index 9d8525fd74..3d11bfbb27 100644 --- a/docs/commands/k8s.md +++ b/docs/commands/k8s.md @@ -1,6 +1,6 @@ # Documentation for `scw k8s` -Kapsule API. +Kubernetes API. - [Kapsule cluster management commands](#kapsule-cluster-management-commands) - [Create a new cluster](#create-a-new-cluster) diff --git a/internal/namespaces/k8s/v1/k8s_cli.go b/internal/namespaces/k8s/v1/k8s_cli.go index dcb476cbcf..4e50dcaef6 100644 --- a/internal/namespaces/k8s/v1/k8s_cli.go +++ b/internal/namespaces/k8s/v1/k8s_cli.go @@ -50,8 +50,8 @@ func GetGeneratedCommands() *core.Commands { } func k8sRoot() *core.Command { return &core.Command{ - Short: `Kapsule API`, - Long: `Kapsule API.`, + Short: `Kubernetes API`, + Long: `Kubernetes API.`, Namespace: "k8s", } } From 589700b3909b633777b9c53fbc1c42100d16dbf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Mon, 24 Apr 2023 15:30:32 +0200 Subject: [PATCH 2/2] FIx --- cmd/scw/testdata/test-main-usage-usage.golden | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/scw/testdata/test-main-usage-usage.golden b/cmd/scw/testdata/test-main-usage-usage.golden index bbb69af752..7bf736f5c0 100644 --- a/cmd/scw/testdata/test-main-usage-usage.golden +++ b/cmd/scw/testdata/test-main-usage-usage.golden @@ -17,7 +17,7 @@ AVAILABLE COMMANDS: iam IAM API instance Instance API iot This API allows you to manage IoT hubs and devices - k8s Kapsule API + k8s Kubernetes API lb This API allows you to manage your Scaleway Load Balancer services marketplace Marketplace API mnq This API allows you to manage Scaleway Messaging and Queueing brokers