Created
March 10, 2017 15:06
-
-
Save mriedem/d20978819dbbc28c77f89e118fd4f52f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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