Skip to content

Commit

Permalink
fix cloning producing an invalid image name
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Käser committed Aug 11, 2015
1 parent 8475cf1 commit 4dee0f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipynbsrv/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ class ContainerImage(models.Model):
max_length=75,
validators=[
RegexValidator(
regex='^[A-z][\w\/]*$',
regex='^[A-z][\w\/-]*$',
message='Invalid container snapshot name.'
)
]
Expand Down

0 comments on commit 4dee0f7

Please sign in to comment.