From b881a08f5623953922fbe908df8980087811a833 Mon Sep 17 00:00:00 2001 From: Denise Date: Wed, 18 Sep 2024 16:04:33 -0700 Subject: [PATCH] fix: update platform add command to reference the platform instead of loft --- cmd/vclusterctl/cmd/platform/add/cluster.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/vclusterctl/cmd/platform/add/cluster.go b/cmd/vclusterctl/cmd/platform/add/cluster.go index 8b3481181..bef3139a1 100644 --- a/cmd/vclusterctl/cmd/platform/add/cluster.go +++ b/cmd/vclusterctl/cmd/platform/add/cluster.go @@ -106,7 +106,7 @@ func (cmd *ClusterCmd) Run(ctx context.Context, args []string) error { loftVersion, err := platformClient.Version() if err != nil { - return fmt.Errorf("get loft version: %w", err) + return fmt.Errorf("get platform version: %w", err) } // TODO(ThomasK33): Eventually change this into an Apply instead of a Create call @@ -254,7 +254,7 @@ func (cmd *ClusterCmd) Run(ctx context.Context, args []string) error { } } - cmd.Log.Donef("Successfully added cluster %s to Loft", clusterName) + cmd.Log.Donef("Successfully added cluster %s to the platform", clusterName) return nil }