Currently container name may contain spaces, the
regular expression is not valid. This patch fixes that
regular expression and adds unit tests.
NOTE: This patch doesn't fix the regular expression for
image name, because that is more complicated to be handled
now, i will propose another patch with that fix.
Reviewed: https:/ /review. openstack. org/396028 /git.openstack. org/cgit/ openstack/ zun/commit/ ?id=5d78766b954 f62bb9e177a6f12 eec84a20d21071
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5d78766b954f62b b9e177a6f12eec8 4a20d21071
Author: Pradeep Kumar Singh <email address hidden>
Date: Thu Nov 10 08:55:06 2016 +0000
Fix Container name match regular expression
Currently container name may contain spaces, the
regular expression is not valid. This patch fixes that
regular expression and adds unit tests.
NOTE: This patch doesn't fix the regular expression for
image name, because that is more complicated to be handled
now, i will propose another patch with that fix.
Close-bug: #1640680
Change-Id: Id99afda8dab5ee 2f86d6f50e1988e 9eba8542270