Typo fix in bin/instance-usage-audit.

The notify method now requires a context, which in this case should be
`admin_context` not `context`.

Change-Id: I53275d0e1c9a898a7c0d9685382bb52ffb2efa2c
This commit is contained in:
Rick Harris 2012-04-24 17:03:53 +00:00
parent b11209ba88
commit d55823d8d4

View File

@ -72,4 +72,4 @@ if __name__ == '__main__':
end) end)
print "%s instances" % len(instances) print "%s instances" % len(instances)
for instance_ref in instances: for instance_ref in instances:
nova.compute.utils.notify_usage_exists(context, instance_ref) nova.compute.utils.notify_usage_exists(admin_context, instance_ref)