Skip to content

Commit

Permalink
fix: update platform add command to reference the platform instead of…
Browse files Browse the repository at this point in the history
… loft

(cherry picked from commit b881a08)
  • Loading branch information
deniseschannon committed Sep 19, 2024
1 parent 6ae40e0 commit 660b1cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/vclusterctl/cmd/platform/add/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,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
Expand Down Expand Up @@ -268,7 +268,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
}
Expand Down

0 comments on commit 660b1cb

Please sign in to comment.