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

Unified Diff: scripts/master/buildbucket/__init__.py

Issue 2137583002: buildbucket: bypass Cloud Endpoints API server (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: copyright in a tiny shell script Created 4 years, 5 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
« no previous file with comments | « no previous file | scripts/master/buildbucket/client.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/master/buildbucket/__init__.py
diff --git a/scripts/master/buildbucket/__init__.py b/scripts/master/buildbucket/__init__.py
index f09235bde4516df9e47cccbf54af256ae7f934e5..2387e83dc7e57edbca9af98716654b872f8c0299 100644
--- a/scripts/master/buildbucket/__init__.py
+++ b/scripts/master/buildbucket/__init__.py
@@ -79,9 +79,8 @@ def setup(
buckets, build_params_hook=build_params_hook,
max_lease_count=max_lease_count)
- buildbucket_service_factory = functools.partial(
- client.create_buildbucket_service, active_master, buildbucket_hostname,
- verbose)
+ buildbucket_service = client.create_buildbucket_service(
+ active_master, buildbucket_hostname, verbose)
poller = BuildBucketPoller(
integrator=integrator,
@@ -89,7 +88,7 @@ def setup(
dry_run=dry_run)
status = BuildBucketStatus(
integrator,
- buildbucket_service_factory=buildbucket_service_factory,
+ buildbucket_service,
dry_run=dry_run)
config.setdefault('change_source', []).append(poller)
config.setdefault('status', []).append(status)
« no previous file with comments | « no previous file | scripts/master/buildbucket/client.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698