Skip to content
Snippets Groups Projects
Commit 6b0d4d4a authored by Varac's avatar Varac
Browse files

Merge branch...

Merge branch '573-possible-conflicting-droplet-names-for-multiple-mr-of-the-same-issue' into 'master'

Fix bug in master pipeline

Closes #573

See merge request openappstack/openappstack!281
parents 497c93b1 70b59595
No related branches found
No related tags found
No related merge requests found
......@@ -274,6 +274,7 @@ def create(clus, args): # pylint: disable=too-many-branches
'characters'), MAX_DOMAIN_LENGTH)
sys.exit(1)
subdomain = args.subdomain
if len(args.domain) + len(args.subdomain) + 1 > MAX_DOMAIN_LENGTH:
if args.truncate_subdomain:
half_required_length = floor((MAX_DOMAIN_LENGTH - len(args.domain) - 1)/2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment