Ensure os_project checks the right domain (#2519)

reviewable/pr18780/r1
Alvaro Aleman 8 years ago committed by David Shrewsbury
parent bef9a1c14f
commit b02a24ffed

@ -178,6 +178,10 @@ def main():
pass
cloud = shade.openstack_cloud(**module.params)
if domain:
project = cloud.get_project(name, domain_id=domain)
else:
project = cloud.get_project(name)
if module.check_mode:

Loading…
Cancel
Save