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:
parent
b11209ba88
commit
d55823d8d4
@ -72,4 +72,4 @@ if __name__ == '__main__':
|
||||
end)
|
||||
print "%s instances" % len(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)
|
||||
|
Loading…
Reference in New Issue
Block a user