[arvados] updated: 2.7.0-5325-g28b8359445
git repository hosting
git at public.arvados.org
Thu Nov 9 18:04:54 UTC 2023
Summary of changes:
lib/cloud/ec2/ec2.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 28b83594452b195cc1e8b412bdd3a3bb2a91e2d9 (commit)
from 2454b8583c13b754c233b0e44cdbc95873cd14cc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 28b83594452b195cc1e8b412bdd3a3bb2a91e2d9
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Thu Nov 9 13:03:03 2023 -0500
Handle non-nil, empty Instances return refs #20978
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/lib/cloud/ec2/ec2.go b/lib/cloud/ec2/ec2.go
index 0d181be0e9..07a146d99f 100644
--- 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{
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list