Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #85 from zalando-stups/support-teams-with-underscores
Browse files Browse the repository at this point in the history
validators.py: allow team names to contain underscores
  • Loading branch information
thilp authored Nov 4, 2019
2 parents 53e5da1 + 326c458 commit dc7a732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pierone/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

INCIDENT_PATTERN = re.compile(r'^INC-\d+$')

TEAM_PATTERN_STR = r'[a-z][a-z0-9-]+'
TEAM_PATTERN_STR = r'[a-z][a-z0-9_-]+'
TEAM_PATTERN = re.compile(r'^{}$'.format(TEAM_PATTERN_STR))


Expand Down

0 comments on commit dc7a732

Please sign in to comment.