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

Unified Diff: appengine/swarming/handlers_endpoints.py

Issue 1932013002: swarming: fix include_performance_stats param (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: 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/swarming_rpcs.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/handlers_endpoints.py
diff --git a/appengine/swarming/handlers_endpoints.py b/appengine/swarming/handlers_endpoints.py
index 997b9eefbfe6b2733a09ca49b4d2f84ffc518e48..f130e3109fd392e0881bdc5fbd9a2b08670ea99c 100644
--- a/appengine/swarming/handlers_endpoints.py
+++ b/appengine/swarming/handlers_endpoints.py
@@ -169,8 +169,9 @@ TaskId = endpoints.ResourceContainer(
TaskIdWithPerf = endpoints.ResourceContainer(
- swarming_rpcs.PerformanceStatsRequest,
- task_id=messages.StringField(1, required=True))
+ message_types.VoidMessage,
+ task_id=messages.StringField(1, required=True),
+ include_performance_stats=messages.BooleanField(2, default=False))
@swarming_api.api_class(resource_name='task', path='task')
« no previous file with comments | « no previous file | appengine/swarming/swarming_rpcs.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698