diff options
| author | Ewan Mellor <ewan.mellor@citrix.com> | 2010-07-25 20:31:53 +0100 |
|---|---|---|
| committer | Ewan Mellor <ewan.mellor@citrix.com> | 2010-07-25 20:31:53 +0100 |
| commit | 6d636cd416d4a0f8a778ea9cb04c41de6299714e (patch) | |
| tree | 54616b1920a1ddc3fe286d0784d93c1d294ba416 | |
| parent | f42c5d96a0256883334cb7c8127d76214ee0bc02 (diff) | |
| download | nova-6d636cd416d4a0f8a778ea9cb04c41de6299714e.tar.gz nova-6d636cd416d4a0f8a778ea9cb04c41de6299714e.tar.xz nova-6d636cd416d4a0f8a778ea9cb04c41de6299714e.zip | |
Fix instance cleanup.
| -rw-r--r-- | nova/virt/libvirt_conn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt_conn.py b/nova/virt/libvirt_conn.py index 30a182057..2c34711bc 100644 --- a/nova/virt/libvirt_conn.py +++ b/nova/virt/libvirt_conn.py @@ -83,7 +83,7 @@ class LibvirtConnection(object): pass # If the instance is already terminated, we're still happy d = defer.Deferred() - d.addCallback(lambda x: self._cleanup()) + d.addCallback(lambda _: self._cleanup(instance)) # FIXME: What does this comment mean? # TODO(termie): short-circuit me for tests # WE'LL save this for when we do shutdown, |
