cloud_platform: support client name w/ number

This commit is contained in:
Tonow-c2c committed 2019-09-08 15:48:23 +02:00
1 parent 84e00f5f14
commit 6b87b1c604
1 file changed
+1 -1
+1 -1
View File
@@ -94,7 +94,7 @@ class CloudPlatform(models.AbstractModel):
"SWIFT_WRITE_CONTAINER must not be empty for prod "
"and integration"
)
prod_container = bool(re.match(r'[a-z-]+-odoo-prod',
prod_container = bool(re.match(r'[a-z0-9-]+-odoo-prod',
container_name))
if environment_name == 'prod':
assert prod_container, (
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.