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

Unified Diff: appengine/swarming/handlers_bot.py

Issue 1925343002: swarming: IsolatedOperation -> OperationStats (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: swarming: IsolatedOperation -> OperationStats Created 4 years, 8 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/message_conversion.py » ('j') | appengine/swarming/server/task_result.py » ('J')
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 be52a5cb697a71ccd18363cab9ecaf3ed9df9dc9..e8f9256baa3f91e93e10e8df62e91926f0cf4ecc 100644
--- a/appengine/swarming/handlers_bot.py
+++ b/appengine/swarming/handlers_bot.py
@@ -524,13 +524,13 @@ class BotTaskUpdateHandler(auth.ApiHandler):
upload = isolated_stats['upload']
performance_stats = task_result.PerformanceStats(
bot_overhead=bot_overhead,
- isolated_download=task_result.IsolatedOperation(
+ isolated_download=task_result.OperationStats(
duration=download['duration'],
initial_number_items=download['initial_number_items'],
initial_size=download['initial_size'],
items_cold=base64.b64decode(download['items_cold']),
items_hot=base64.b64decode(download['items_hot'])),
- isolated_upload=task_result.IsolatedOperation(
+ isolated_upload=task_result.OperationStats(
duration=upload['duration'],
items_cold=base64.b64decode(upload['items_cold']),
items_hot=base64.b64decode(upload['items_hot'])))
« no previous file with comments | « no previous file | appengine/swarming/message_conversion.py » ('j') | appengine/swarming/server/task_result.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698