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
  • Loading branch information
deniseschannon committed Sep 19, 2024
1 parent 07d8ebc commit b881a08
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 @@ -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
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit b881a08

Please sign in to comment.