summaryrefslogtreecommitdiffstats
path: root/nova/service.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/service.py')
-rw-r--r--nova/service.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/nova/service.py b/nova/service.py
index 1acfe3078..a8d52e93b 100644
--- a/nova/service.py
+++ b/nova/service.py
@@ -119,11 +119,11 @@ class Service(object):
def _create_service_ref(self, context):
zone = FLAGS.node_availability_zone
service_ref = db.service_create(context,
- {'host':self.host,
- 'binary':self.binary,
- 'topic':self.topic,
+ {'host': self.host,
+ 'binary': self.binary,
+ 'topic': self.topic,
'report_count': 0,
- 'availability_zone':zone})
+ 'availability_zone': zone})
self.service_id = service_ref['id']
def __getattr__(self, key):