Skip to content

Commit 20ba713

Browse files
committed
Fix stack timeout message to work for creation and deletion
1 parent d3d71a1 commit 20ba713

File tree

1 file changed

+2
-2
lines changed
  • ecs-cli/modules/clients/aws/cloudformation

1 file changed

+2
-2
lines changed

ecs-cli/modules/clients/aws/cloudformation/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ type cloudformationClient struct {
107107
}
108108

109109
// NewCloudformationClient creates an instance of cloudFormationClient object.
110-
func NewCloudformationClient(config *config.CommandConfig) CloudformationClient {
110+
func NewCloudformationClient(config *config.CommandConfig) CloudformationClient {
111111
cfnClient := cloudformation.New(config.Session)
112112
cfnClient.Handlers.Build.PushBackNamed(clients.CustomUserAgentHandler())
113113

@@ -260,7 +260,7 @@ func (c *cloudformationClient) waitUntilComplete(stackName string, hasFailed fai
260260
c.sleeper.Sleep(delayWait)
261261
}
262262

263-
return fmt.Errorf("Timeout waiting for stack creation to complete")
263+
return fmt.Errorf("Timeout waiting for stack operation to complete")
264264
}
265265

266266
// latestStackEvent describes stack events and gets the latest event.

0 commit comments

Comments
 (0)