1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Remove unwanted params from function call (#25348)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2017-06-05 20:34:39 +05:30 committed by Adrian Likins
parent 448f6de6bd
commit 01eb70bdee

View file

@ -207,10 +207,10 @@ class LibvirtConnection(object):
return self.find_vm(vmid).shutdown()
def pause(self, vmid):
return self.suspend(self.conn,vmid)
return self.suspend(vmid)
def unpause(self, vmid):
return self.resume(self.conn,vmid)
return self.resume(vmid)
def suspend(self, vmid):
return self.find_vm(vmid).suspend()