default wait time for amazon import to one hour.

This commit is contained in:
Megan Marsh 2018-10-09 13:08:42 -07:00
parent f494d87dc5
commit 02bfac118f
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ func WaitForVolumeToBeDetached(c *ec2.EC2, ctx aws.Context, input *ec2.DescribeV
func WaitForImageToBeImported(c *ec2.EC2, ctx aws.Context, input *ec2.DescribeImportImageTasksInput, opts ...request.WaiterOption) error { func WaitForImageToBeImported(c *ec2.EC2, ctx aws.Context, input *ec2.DescribeImportImageTasksInput, opts ...request.WaiterOption) error {
w := request.Waiter{ w := request.Waiter{
Name: "DescribeImages", Name: "DescribeImages",
MaxAttempts: 300, MaxAttempts: 720,
Delay: request.ConstantWaiterDelay(5 * time.Second), Delay: request.ConstantWaiterDelay(5 * time.Second),
Acceptors: []request.WaiterAcceptor{ Acceptors: []request.WaiterAcceptor{
{ {