summaryrefslogtreecommitdiff
path: root/doc/ext
diff options
context:
space:
mode:
authorBalazs Gibizer <balazs.gibizer@ericsson.com>2016-04-22 15:31:54 +0200
committerBalazs Gibizer <balazs.gibizer@ericsson.com>2016-06-08 11:32:53 +0200
commit520ee65a55bf9894d5915d3cebc892439d703312 (patch)
tree334c65ccd4cf87702b4415636c31ca11401e9ba8 /doc/ext
parentcdfecc65e79a111566b52cfbc76fa070b94d421e (diff)
downloadnova-520ee65a55bf9894d5915d3cebc892439d703312.tar.gz
Do not register notification objects
Only registering the notification objects during unit test. Notification objects are never used in the Nova RPC interface and shall not be mixed with such objects. Change-Id: Iba9079bb204e6ef1302529ac159199ab9fa6272b
Diffstat (limited to 'doc/ext')
-rw-r--r--doc/ext/versioned_notifications.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/ext/versioned_notifications.py b/doc/ext/versioned_notifications.py
index 795ed59d14..38e0e4875e 100644
--- a/doc/ext/versioned_notifications.py
+++ b/doc/ext/versioned_notifications.py
@@ -41,6 +41,7 @@ class VersionedNotificationDirective(Directive):
return self._build_markup(notifications)
def _collect_notifications(self):
+ base.NovaObjectRegistry.register_notification_objects()
notifications = []
ovos = base.NovaObjectRegistry.obj_classes()
for name, cls in ovos.items():