Update typos

Change-Id: I1d7465073b5e4007d0882ffbf17b29f00fdc9ea9
This commit is contained in:
Swapnil Kulkarni (coolsvap) 2016-01-13 11:45:10 +05:30 committed by lvdongbing
parent ae975df884
commit 4b249f3d35

View File

@ -50,7 +50,7 @@ class EventsNotificationEndpoint(object):
return self.process_resource_notification(notification)
def process_identity_notification(self, notification):
"""Convert notifcation to user."""
"""Convert notification to user."""
user_id = notification['payload'].get('resource_info', None)
if not user_id:
LOG.error(_LE("Cannot retrieve user_id from notification: %s"),
@ -66,7 +66,7 @@ class EventsNotificationEndpoint(object):
return oslo_messaging.NotificationResult.HANDLED
def process_resource_notification(self, notification):
"""Convert notifcation to resources."""
"""Convert notification to resources."""
resources = self.resource_converter.to_resources(notification)
if not resources:
LOG.info('Ignore notification because no matched resources '