Fix vmware_dvs_portgroup destroy task (#2776)

Fixes #2761
This commit is contained in:
Russell Teague 2016-08-25 12:48:25 -04:00 committed by René Moser
parent 61d326a753
commit a2d23983c0

View file

@ -143,7 +143,7 @@ class VMwareDvsPortgroup(object):
result = None
if not self.module.check_mode:
task = dvs_portgroup.Destroy_Task()
task = self.dvs_portgroup.Destroy_Task()
changed, result = wait_for_task(task)
self.module.exit_json(changed=changed, result=str(result))