Mercurial > srxproxy
changeset 19:5d3f1bc25257
Use elevated context for get_instance_nw_info
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Tue, 12 Feb 2013 11:20:11 +0100 |
| parents | 155897278c68 |
| children | a92b4657c517 |
| files | srxproxy.py |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/srxproxy.py Tue Feb 12 11:13:09 2013 +0100 +++ b/srxproxy.py Tue Feb 12 11:20:11 2013 +0100 @@ -148,7 +148,7 @@ ) instance = nm.db.instance_get(context, instance_id) nm.get_instance_nw_info( - context, + context.elevated(), instance['id'], instance['uuid'], instance['instance_type_id'], @@ -177,7 +177,7 @@ try: instance = nm.db.instance_get(context, instance_id) nm.get_instance_nw_info( - context, + context.elevated(), instance['id'], instance['uuid'], instance['instance_type_id'],
