From 04c9e0362ee325ee920174a334fd4dd1e53c3de3 Mon Sep 17 00:00:00 2001 From: Chris Spencer Date: Tue, 7 Feb 2017 15:36:50 -0700 Subject: [PATCH] Fix spelling error in NotificationEndpoint classes. Change-Id: I47dc2d73b8e7c4adaa9622de932c0d8abcd17d87 --- .../model/notification/nova.py | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/watcher/decision_engine/model/notification/nova.py b/watcher/decision_engine/model/notification/nova.py index 8e450f790..df6d4042e 100644 --- a/watcher/decision_engine/model/notification/nova.py +++ b/watcher/decision_engine/model/notification/nova.py @@ -201,15 +201,15 @@ class NovaNotification(base.NotificationEndpoint): LOG.info(_LI("Instance %s already deleted"), instance.uuid) -class VersionnedNotificationEndpoint(NovaNotification): +class VersionedNotificationEndpoint(NovaNotification): publisher_id_regex = r'^nova-compute.*' -class UnversionnedNotificationEndpoint(NovaNotification): +class UnversionedNotificationEndpoint(NovaNotification): publisher_id_regex = r'^compute.*' -class ServiceUpdated(VersionnedNotificationEndpoint): +class ServiceUpdated(VersionedNotificationEndpoint): @property def filter_rule(self): @@ -235,7 +235,7 @@ class ServiceUpdated(VersionnedNotificationEndpoint): LOG.exception(exc) -class InstanceCreated(VersionnedNotificationEndpoint): +class InstanceCreated(VersionedNotificationEndpoint): @property def filter_rule(self): @@ -277,7 +277,7 @@ class InstanceCreated(VersionnedNotificationEndpoint): self.update_instance(instance, payload) -class InstanceUpdated(VersionnedNotificationEndpoint): +class InstanceUpdated(VersionedNotificationEndpoint): @staticmethod def _match_not_new_instance_state(data): @@ -310,7 +310,7 @@ class InstanceUpdated(VersionnedNotificationEndpoint): self.update_instance(instance, payload) -class InstanceDeletedEnd(VersionnedNotificationEndpoint): +class InstanceDeletedEnd(VersionedNotificationEndpoint): @property def filter_rule(self): @@ -343,7 +343,7 @@ class InstanceDeletedEnd(VersionnedNotificationEndpoint): self.delete_instance(instance, node) -class LegacyInstanceUpdated(UnversionnedNotificationEndpoint): +class LegacyInstanceUpdated(UnversionedNotificationEndpoint): @property def filter_rule(self): @@ -368,7 +368,7 @@ class LegacyInstanceUpdated(UnversionnedNotificationEndpoint): self.legacy_update_instance(instance, payload) -class LegacyInstanceCreatedEnd(UnversionnedNotificationEndpoint): +class LegacyInstanceCreatedEnd(UnversionedNotificationEndpoint): @property def filter_rule(self): @@ -393,7 +393,7 @@ class LegacyInstanceCreatedEnd(UnversionnedNotificationEndpoint): self.legacy_update_instance(instance, payload) -class LegacyInstanceDeletedEnd(UnversionnedNotificationEndpoint): +class LegacyInstanceDeletedEnd(UnversionedNotificationEndpoint): @property def filter_rule(self): @@ -424,7 +424,7 @@ class LegacyInstanceDeletedEnd(UnversionnedNotificationEndpoint): self.delete_instance(instance, node) -class LegacyLiveMigratedEnd(UnversionnedNotificationEndpoint): +class LegacyLiveMigratedEnd(UnversionedNotificationEndpoint): @property def filter_rule(self):