From b916b06f1059611a1f7ecfa6781e1d27036d053e Mon Sep 17 00:00:00 2001 From: Rick Harris Date: Mon, 23 Apr 2012 21:30:15 +0000 Subject: 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 --- bin/instance-usage-audit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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) -- cgit