[ARVADOS] updated: 2.1.0-652-g2b0f8253a

Git user git at public.arvados.org
Thu Apr 15 18:09:31 UTC 2021


Summary of changes:
 lib/dispatchcloud/driver.go | 5 +++++
 1 file changed, 5 insertions(+)

       via  2b0f8253a9cd19199f3f9951308c03ead0162188 (commit)
      from  ff11506c916cb2cd8abd1905e16c4d4f5ddd4240 (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 2b0f8253a9cd19199f3f9951308c03ead0162188
Author: Tom Clegg <tom at curii.com>
Date:   Thu Apr 15 14:03:13 2021 -0400

    17529: Heed MaxCloudOpsPerSecond when calling SetTags.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/lib/dispatchcloud/driver.go b/lib/dispatchcloud/driver.go
index fe498d048..462c3683f 100644
--- a/lib/dispatchcloud/driver.go
+++ b/lib/dispatchcloud/driver.go
@@ -71,6 +71,11 @@ func (inst *rateLimitedInstance) Destroy() error {
 	return inst.Instance.Destroy()
 }
 
+func (inst *rateLimitedInstance) SetTags(tags cloud.InstanceTags) error {
+	<-inst.ticker.C
+	return inst.Instance.SetTags(tags)
+}
+
 // Adds the specified defaultTags to every Create() call.
 type defaultTaggingInstanceSet struct {
 	cloud.InstanceSet

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list