fix for getting reference on service update

This commit is contained in:
Vishvananda Ishaya
2010-09-07 18:14:50 -07:00
parent 50f60636ba
commit a98316057e

View File

@@ -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,