If block-create didn't work, then chances are block-destroy doesn't work

either right :-)

In this case, XendDomain.py is just calling a function that doesn't 
exist (device_destroy instead of device_delete).

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-08-13 09:06:44 +00:00
1 parent 2591bbb102
commit 561b5b9cd3
1 file changed
+1 -1
+1 -1
View File
@@ -325,7 +325,7 @@ class DevController:
return self.destroyed
def getDevice(self, id, error=False):
dev = self.devices.get(id)
dev = self.devices.get(int(id))
if error and not dev:
raise XendError("invalid device id: " + str(id))
return dev
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.