From 01eb70bdee3f02ab568bbf2729f6aca6ece26283 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Mon, 5 Jun 2017 20:34:39 +0530 Subject: [PATCH] Remove unwanted params from function call (#25348) Signed-off-by: Abhijeet Kasurde --- lib/ansible/modules/cloud/misc/virt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/misc/virt.py b/lib/ansible/modules/cloud/misc/virt.py index e24014b2669..b0c84a46351 100644 --- a/lib/ansible/modules/cloud/misc/virt.py +++ b/lib/ansible/modules/cloud/misc/virt.py @@ -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()