Call dominfo.device_delete instead of non-existant dominfo.device_destroy.

Signed-off-by: Sean Dague <sean@dague.net>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
cl349@firebug.cl.cam.ac.uk committed 2005-09-14 12:49:13 +00:00
1 parent 3886819443
commit 714ecf5c5b
1 file changed
+1 -1
+1 -1
View File
@@ -673,7 +673,7 @@ class XendDomain:
@param type: device type
"""
dominfo = self.domain_lookup(id)
val = dominfo.device_destroy(type, devid)
val = dominfo.device_delete(type, devid)
dominfo.exportToDB()
return val
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.