Fix bug in c/s 20332 "Add commands to hotplug usb devices to hvm guests"

Signed-off-by: James Song Wei <jsong@novell.com>
This commit is contained in:
Keir Fraser committed 2009-12-14 07:58:15 +00:00
1 parent beba190a01
commit 30acac4606
1 file changed
+1 -1
+1 -1
View File
@@ -234,7 +234,7 @@ class SrvDomain(SrvDir):
def op_usb_del(self, op, req):
self.acceptCommand(req)
return req.threadRequest(self.do_usb_add, op, req)
return req.threadRequest(self.do_usb_del, op, req)
def do_usb_del(self, _, req):
return self.xd.domain_usb_add(self.dom.getName(), req)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.