diff options
| author | Rick Harris <rconradharris@gmail.com> | 2012-04-23 21:30:15 +0000 |
|---|---|---|
| committer | Rick Harris <rconradharris@gmail.com> | 2012-04-23 21:30:15 +0000 |
| commit | b916b06f1059611a1f7ecfa6781e1d27036d053e (patch) | |
| tree | 14e5235a6a7d10de54f4bcf3174fe98b9e2b7bf9 /bin/instance-usage-audit | |
| parent | cee3e5a20794e4a73fb42488b905207f6a1caf74 (diff) | |
| download | nova-b916b06f1059611a1f7ecfa6781e1d27036d053e.tar.gz nova-b916b06f1059611a1f7ecfa6781e1d27036d053e.tar.xz nova-b916b06f1059611a1f7ecfa6781e1d27036d053e.zip | |
Adding context to usage notifications.
This patch passes context objects all the way down to the usage
generating code. This allows that code (in future) patches to make
context-dependent calls in order to augment the usage_info dict.
Change-Id: I6592d7aecd99750cab6a91bbadc2c761155d2d4d
Diffstat (limited to 'bin/instance-usage-audit')
| -rwxr-xr-x | bin/instance-usage-audit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/instance-usage-audit b/bin/instance-usage-audit index 68973f198..01473e36d 100755 --- a/bin/instance-usage-audit +++ b/bin/instance-usage-audit @@ -72,4 +72,4 @@ if __name__ == '__main__': end) print "%s instances" % len(instances) for instance_ref in instances: - nova.compute.utils.notify_usage_exists(instance_ref) + nova.compute.utils.notify_usage_exists(context, instance_ref) |
