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

Unified Diff: appengine/swarming/server/task_request.py

Issue 1906803003: Allow dots in dimension key name. (Closed) Base URL: git@github.com:luci/luci-py.git@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/server/task_request_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/server/task_request.py
diff --git a/appengine/swarming/server/task_request.py b/appengine/swarming/server/task_request.py
index 3781a559837e819bfa43e7165275a524e01b2832..35088c0f86a2882b23e147d16dfa27d79896d368 100644
--- a/appengine/swarming/server/task_request.py
+++ b/appengine/swarming/server/task_request.py
@@ -68,7 +68,7 @@ MAXIMUM_PRIORITY = 255
# Enforced on both task request and bots.
-DIMENSION_KEY_RE = ur'^[a-zA-Z\-\_]+$'
+DIMENSION_KEY_RE = ur'^[a-zA-Z\-\_\.]+$'
# One day in seconds. Add 10s to account for small jitter.
« no previous file with comments | « no previous file | appengine/swarming/server/task_request_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698