default wait time for amazon import to one hour.
This commit is contained in:
parent
f494d87dc5
commit
02bfac118f
|
@ -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{
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue