fix(stacks): Fix stack error typo (#445)

This is a simple fix for typo in an error returned to the user.
This commit is contained in:
Simon Richardson
2022-09-22 15:39:48 +01:00
committed by GitHub
parent 3a593e7184
commit e2aa4d2df9

View File

@ -134,7 +134,7 @@ func (c Client) Update(ctx context.Context, params *UpdateParams) error {
stack, err := c.UpdateStack(ctx, params.Id).StackPatchRequest(req).Execute()
if err != nil {
return fmt.Errorf("failed to udpate stack %q: %w", params.Id, err)
return fmt.Errorf("failed to update stack %q: %w", params.Id, err)
}
if err := c.printStacks(stackPrintOptions{stack: &stack}); err != nil {
return err