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

Unified Diff: appengine/swarming/handlers_bot.py

Issue 1939343002: swarming: change meaning of inputs_ref (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: fix templates Created 4 years, 7 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 | appengine/swarming/handlers_bot_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/handlers_bot.py
diff --git a/appengine/swarming/handlers_bot.py b/appengine/swarming/handlers_bot.py
index d5c90524162f32ae675552329a7a3202215d718c..c64815793376cabfbf996474ba66bf33bb910b87 100644
--- a/appengine/swarming/handlers_bot.py
+++ b/appengine/swarming/handlers_bot.py
@@ -391,7 +391,11 @@ class BotPollHandler(_BotBaseHandler):
'hard_timeout': request.properties.execution_timeout_secs,
'host': utils.get_versioned_hosturl(),
'io_timeout': request.properties.io_timeout_secs,
- 'inputs_ref': request.properties.inputs_ref,
+ 'isolated': {
+ 'input': request.properties.inputs_ref.isolated,
+ 'namespace': request.properties.inputs_ref.namespace,
+ 'server': request.properties.inputs_ref.isolatedserver,
+ } if request.properties.inputs_ref else None,
'packages': [
{
'package_name': p.package_name,
« no previous file with comments | « no previous file | appengine/swarming/handlers_bot_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698