Allow _.- chars in service names
As VALID_CHARS is shared with project names, these chars are also now allowed within project names. Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
This commit is contained in:
parent
8cf84ea552
commit
f33f673b49
2 changed files with 12 additions and 7 deletions
|
|
@ -47,7 +47,7 @@ DOCKER_START_KEYS = [
|
|||
'security_opt',
|
||||
]
|
||||
|
||||
VALID_NAME_CHARS = '[a-zA-Z0-9]'
|
||||
VALID_NAME_CHARS = '[a-zA-Z0-9\._\-]'
|
||||
|
||||
|
||||
class BuildError(Exception):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue