Skip to content

Instantly share code, notes, and snippets.

@mriedem
Created March 10, 2017 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mriedem/d20978819dbbc28c77f89e118fd4f52f to your computer and use it in GitHub Desktop.
Save mriedem/d20978819dbbc28c77f89e118fd4f52f to your computer and use it in GitHub Desktop.
user@xubuntu:~/git/nova$ git diff
diff --git a/nova/conf/notifications.py b/nova/conf/notifications.py
index f2025ef..d669350 100644
--- a/nova/conf/notifications.py
+++ b/nova/conf/notifications.py
@@ -30,7 +30,7 @@ ALL_OPTS = [
cfg.StrOpt(
'notify_on_state_change',
choices=(None, 'vm_state', 'vm_and_task_state'),
- deprecated_group='default',
+ deprecated_group='DEFAULT',
help="""
If set, send compute.instance.update notifications on instance state
changes.
diff --git a/nova/tests/unit/test_notifications.py b/nova/tests/unit/test_notifications.py
index 7490486..e075c7d 100644
--- a/nova/tests/unit/test_notifications.py
+++ b/nova/tests/unit/test_notifications.py
@@ -57,8 +57,7 @@ class NotificationsTestCase(test.TestCase):
self.flags(network_manager='nova.network.manager.FlatManager',
host='testhost')
- self.flags(notify_on_state_change="vm_and_task_state",
- group='notifications')
+ self.flags(notify_on_state_change="vm_and_task_state")
self.flags(api_servers=['http://localhost:9292'], group='glance')
user@xubuntu:~/git/nova$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment