From aa6051026ef2804212c7f2ce2826659a7e233943 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Fri, 3 Apr 2015 12:27:33 -0700 Subject: [PATCH] Add comment about EBS status being a bit slow through API --- pkg/cloudprovider/aws/aws.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cloudprovider/aws/aws.go b/pkg/cloudprovider/aws/aws.go index 41572d6e65a..a917ff7c992 100644 --- a/pkg/cloudprovider/aws/aws.go +++ b/pkg/cloudprovider/aws/aws.go @@ -773,6 +773,7 @@ func (self *awsDisk) getInfo() (*ec2.Volume, error) { } func (self *awsDisk) waitForAttachmentStatus(status string) error { + // TODO: There may be a faster way to get this when we're attaching locally attempt := 0 maxAttempts := 60