diff options
| author | Vishvananda Ishaya <vishvananda@yahoo.com> | 2010-09-07 18:14:50 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@yahoo.com> | 2010-09-07 18:14:50 -0700 |
| commit | 691a32c171ff8e2923f7a1d4c9129dfd1f70c0a7 (patch) | |
| tree | beb3faf45d8b02c5262c32ef24634bd97c1e4d06 | |
| parent | d64ad6ff275916a41c3b2e6972ab96464311135c (diff) | |
fix for getting reference on service update
| -rw-r--r-- | nova/service.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/service.py b/nova/service.py index bc4b80fe4..dec3812d2 100644 --- a/nova/service.py +++ b/nova/service.py @@ -140,6 +140,7 @@ class Service(object, service.Service): logging.debug("The service database object disappeared, " "Recreating it.") self._create_service_ref() + service_ref = db.service_get(context, self.service_id) db.service_update(context, self.service_id, |
