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

Unified Diff: scripts/slave/recipe_modules/swarming/api.py

Issue 1733683002: swarming: only use text until first space for name tag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 10 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/slave/recipes/chromium.expected/dynamic_swarmed_gtest_mac_gpu.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/swarming/api.py
diff --git a/scripts/slave/recipe_modules/swarming/api.py b/scripts/slave/recipe_modules/swarming/api.py
index 294abc57456cb5960e9195a868170a0a89c95969..923862951b0eb7c25275a1d02dfcc9d0a3fee967 100644
--- a/scripts/slave/recipe_modules/swarming/api.py
+++ b/scripts/slave/recipe_modules/swarming/api.py
@@ -476,7 +476,7 @@ class SwarmingApi(recipe_api.RecipeApi):
tags = set(task.tags)
tags.update(self._default_tags)
tags.add('data:' + task.isolated_hash)
- tags.add('name:' + task.title)
+ tags.add('name:' + task.title.split(' ')[0])
mastername = self.m.properties.get('mastername')
if mastername:
tags.add('master:' + mastername)
« no previous file with comments | « no previous file | scripts/slave/recipes/chromium.expected/dynamic_swarmed_gtest_mac_gpu.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698