Skip to content

Commit

Permalink
Merge "Use elevated cxtx in resource_tracker.resize_claim"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Nov 30, 2012
2 parents 925ba0b + e74c4da commit a32c983
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nova/compute/resource_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ def resize_claim(self, context, instance_ref, instance_type, limits=None):
# Mark the resources in-use for the resize landing on this
# compute host:
self._update_usage_from_migration(self.compute_node, migration_ref)
self._update(context, self.compute_node)
elevated = context.elevated()
self._update(elevated, self.compute_node)

return claim

Expand Down

0 comments on commit a32c983

Please sign in to comment.