summaryrefslogtreecommitdiffstats
path: root/nova/servicegroup/db_driver.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/servicegroup/db_driver.py')
-rw-r--r--nova/servicegroup/db_driver.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/nova/servicegroup/db_driver.py b/nova/servicegroup/db_driver.py
index a52ed258c..f859f9f8b 100644
--- a/nova/servicegroup/db_driver.py
+++ b/nova/servicegroup/db_driver.py
@@ -72,7 +72,6 @@ class DbDriver(api.ServiceGroupDriver):
def _report_state(self, service):
"""Update the state of this service in the datastore."""
ctxt = context.get_admin_context()
- zone = CONF.node_availability_zone
state_catalog = {}
try:
try:
@@ -84,8 +83,6 @@ class DbDriver(api.ServiceGroupDriver):
service_ref = db.service_get(ctxt, service.service_id)
state_catalog['report_count'] = service_ref['report_count'] + 1
- if zone != service_ref['availability_zone']:
- state_catalog['availability_zone'] = zone
db.service_update(ctxt,
service.service_id, state_catalog)