[NEW PATCH] BZ#719346 vdsClient: Remove unsupported "stopAllCopies" (via gerrit-bot)
David Naori
dnaori at redhat.com
Wed Jul 6 19:47:40 UTC 2011
New patch submitted by David Naori (dnaori at redhat.com)
You can review this change at: http://gerrit.usersys.redhat.com/670
commit 467ed4a594d24309b376bd04a104a5965a67280d
Author: David Naori <dnaori at redhat.com>
Date: Wed Jul 6 19:45:23 2011 +0300
BZ#719346 vdsClient: Remove unsupported "stopAllCopies"
Change-Id: I8c60725179eb9d2d75eaa62f796aec8b10be133c
diff --git a/vdsm_cli/vdsClient.py b/vdsm_cli/vdsClient.py
index 5239187..903dc46 100755
--- a/vdsm_cli/vdsClient.py
+++ b/vdsm_cli/vdsClient.py
@@ -1238,12 +1238,6 @@ class service:
return image['status']['code'], image['status']['message']
return 0, ''
- def stopAllCopies(self, args):
- stats = self.s.stopAllCopies()
- if stats['status']['code']:
- return stats['status']['code'], stats['status']['message']
- return 0, ''
-
def prepareForShutdown(self, args):
stats = self.s.prepareForShutdown()
if stats['status']['code']:
@@ -1866,9 +1860,6 @@ if __name__ == '__main__':
('<TaskID>',
'revert async task'
)),
- 'stopAllCopies': ( serv.stopAllCopies,
- ('',''
- )),
'prepareForShutdown': ( serv.prepareForShutdown,
('',''
)),
More information about the vdsm-patches
mailing list