projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch '18874-merge-wb2'
[arvados.git]
/
lib
/
cloud
/
ec2
/
ec2.go
diff --git
a/lib/cloud/ec2/ec2.go
b/lib/cloud/ec2/ec2.go
index 0d181be0e9f87212f5f833b35e8e9220476d4815..07a146d99f080ab8a5294626062d47fc22a803f4 100644
(file)
--- a/
lib/cloud/ec2/ec2.go
+++ b/
lib/cloud/ec2/ec2.go
@@
-327,7
+327,7
@@
func (instanceSet *ec2InstanceSet) Create(
atomic.StoreInt32(&instanceSet.currentSubnetIDIndex, int32(tryIndex))
break
}
- if rsv == nil {
+ if rsv == nil
|| len(rsv.Instances) == 0
{
return nil, wrapError(errToReturn, &instanceSet.throttleDelayCreate)
}
return &ec2Instance{