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()