Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Unified Diff: milo/common/config.go

Issue 2955223002: Milo: Buildbucket PubSub ingestion outline (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: milo/common/config.go
diff --git a/milo/common/config.go b/milo/common/config.go
index 360df2da73c7df0872e4d50a7e79606172386fa5..471b3e770d65876caf1dd813df49f035dcdf69a8 100644
--- a/milo/common/config.go
+++ b/milo/common/config.go
@@ -164,6 +164,10 @@ func UpdateServiceConfig(c context.Context) error {
}
logging.Infof(c, "successfully updated to new config")
+ if err := ensurePubSubSubscribed(c, settings); err != nil {
+ return fmt.Errorf("count not ensure pubsub subscriptions: %s", err)
+ }
+
return nil
}

Powered by Google App Engine
This is Rietveld 408576698