Merge pull request #41 from jcoux/fix_check_stack_name

Fix the check stack name for project with digit at first character
This commit is contained in:
Guewen Baconnier authored and GitHub committed 2018-12-03 10:56:46 +01:00
commit 8b9e7b1ffe
1 file changed
+1 -1
+1 -1
View File
@@ -190,7 +190,7 @@ class CloudPlatform(models.AbstractModel):
)
prefix = os.environ['ODOO_SESSION_REDIS_PREFIX']
assert re.match(r'[a-z]+[a-z0-9]*-odoo-[a-z]+[0-9]*', prefix), (
assert re.match(r'[a-z0-9]+-odoo-[a-z0-9]+[0-9]*', prefix), (
"ODOO_SESSION_REDIS_PREFIX must match '<client>-odoo-<env>'"
", we got: '%s'" % (prefix,)
)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.