Having uppercase in the resource_prefix can cause unexpected issues
We may as well enforce lower case resource prefixes at source
This commit is contained in:
parent
e1297af18a
commit
a7371d4998
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ class CloudProvider(CloudBase):
|
|||
os.environ['SHIPPABLE_JOB_NUMBER'],
|
||||
)
|
||||
|
||||
node = re.sub(r'[^a-zA-Z0-9]+', '-', platform.node().split('.')[0])
|
||||
node = re.sub(r'[^a-zA-Z0-9]+', '-', platform.node().split('.')[0]).lower()
|
||||
|
||||
return 'ansible-test-%s-%d' % (node, random.randint(10000000, 99999999))
|
||||
|
||||
|
|
Loading…
Reference in a new issue