Skip to content

Commit 5e21891

Browse files
author
Matthew Fisher
committed
fix(scheduler): allow proctypes with dashes and underscores
1 parent d8ed626 commit 5e21891

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scheduler/coreos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
MATCH = re.compile(
14-
'(?P<app>[a-z0-9-]+)_?(?P<version>v[0-9]+)?\.?(?P<c_type>[a-z]+)?.(?P<c_num>[0-9]+)')
14+
'(?P<app>[a-z0-9-]+)_?(?P<version>v[0-9]+)?\.?(?P<c_type>[a-z-_]+)?.(?P<c_num>[0-9]+)')
1515

1616

1717
class UHTTPConnection(httplib.HTTPConnection):

0 commit comments

Comments
 (0)