From 47ceb6aa27f4d7f241ff70eb5a429f669cdfdafa Mon Sep 17 00:00:00 2001 From: Kostya Linou Date: Wed, 20 Aug 2025 19:23:52 -0700 Subject: [PATCH 1/2] Remove the outdated note about AWS PrivateLink for the "confluent kafka cluster create" command. --- internal/kafka/command_cluster_create.go | 2 +- test/fixtures/output/kafka/cluster/create-help.golden | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/kafka/command_cluster_create.go b/internal/kafka/command_cluster_create.go index 83d5bd812f..5d477d2336 100644 --- a/internal/kafka/command_cluster_create.go +++ b/internal/kafka/command_cluster_create.go @@ -35,7 +35,7 @@ func (c *clusterCommand) newCreateCommand() *cobra.Command { cmd := &cobra.Command{ Use: "create ", Short: "Create a Kafka cluster.", - Long: "Create a Kafka cluster.\n\nNote: You cannot use this command to create a cluster that is configured with AWS PrivateLink. You must use the UI to create a cluster of that configuration.", + Long: "Create a Kafka cluster.", Args: cobra.ExactArgs(1), RunE: c.create, Annotations: map[string]string{pcmd.RunRequirement: pcmd.RequireNonAPIKeyCloudLogin}, diff --git a/test/fixtures/output/kafka/cluster/create-help.golden b/test/fixtures/output/kafka/cluster/create-help.golden index 0bd8d6a27b..522b6ba742 100644 --- a/test/fixtures/output/kafka/cluster/create-help.golden +++ b/test/fixtures/output/kafka/cluster/create-help.golden @@ -1,7 +1,5 @@ Create a Kafka cluster. -Note: You cannot use this command to create a cluster that is configured with AWS PrivateLink. You must use the UI to create a cluster of that configuration. - Usage: confluent kafka cluster create [flags] From 249b432a95031d37f8dcb86cf5a51f7cab109e7b Mon Sep 17 00:00:00 2001 From: Kostya Linou Date: Thu, 21 Aug 2025 11:23:00 -0700 Subject: [PATCH 2/2] apply nit --- internal/kafka/command_cluster_create.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/kafka/command_cluster_create.go b/internal/kafka/command_cluster_create.go index 5d477d2336..5183711a9c 100644 --- a/internal/kafka/command_cluster_create.go +++ b/internal/kafka/command_cluster_create.go @@ -35,7 +35,6 @@ func (c *clusterCommand) newCreateCommand() *cobra.Command { cmd := &cobra.Command{ Use: "create ", Short: "Create a Kafka cluster.", - Long: "Create a Kafka cluster.", Args: cobra.ExactArgs(1), RunE: c.create, Annotations: map[string]string{pcmd.RunRequirement: pcmd.RequireNonAPIKeyCloudLogin},