mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
cloudstack: fix project name must not be case sensitiv
This commit is contained in:
parent
5c4415b821
commit
2c1df46167
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ class AnsibleCloudStackProject(AnsibleCloudStack):
|
|||
projects = self.cs.listProjects(**args)
|
||||
if projects:
|
||||
for p in projects['project']:
|
||||
if project in [ p['name'], p['id']]:
|
||||
if project.lower() in [ p['name'].lower(), p['id']]:
|
||||
self.project = p
|
||||
break
|
||||
return self.project
|
||||
|
|
Loading…
Reference in a new issue