diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-05-03 17:41:29 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-05-03 17:41:29 +0000 |
| commit | 4697cac310867f700e3fa7a938d169d0561cb952 (patch) | |
| tree | 4f93064fe8760a8e2a26e125419738b1b706d48a /nova/compute | |
| parent | 7ff82ea4ce21728c48ad9d6295d57a906046079b (diff) | |
| parent | 2dcd8256662115e6528c2b784c08c5724c8227e8 (diff) | |
Merge "Pass context to notification drivers when we can."
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/utils.py b/nova/compute/utils.py index 9cf890487..2415abf7c 100644 --- a/nova/compute/utils.py +++ b/nova/compute/utils.py @@ -239,6 +239,6 @@ def notify_about_instance_usage(context, instance, event_suffix, usage_info = _usage_from_instance( context, instance, network_info=network_info, **extra_usage_info) - notifier_api.notify('compute.%s' % host, + notifier_api.notify(context, 'compute.%s' % host, 'compute.instance.%s' % event_suffix, notifier_api.INFO, usage_info) |
