Skip to content

Commit

Permalink
Merge pull request #2155 from deniseschannon/loft-ref
Browse files Browse the repository at this point in the history
fix: update platform add command to reference the platform instead of loft
  • Loading branch information
FabianKramm authored Sep 19, 2024
2 parents 640c1fc + b881a08 commit d788f21
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 d788f21

Please sign in to comment.