diff options
author | Aaron Rosen <arosen@nicira.com> | 2013-03-27 12:51:33 -0700 |
---|---|---|
committer | Aaron Rosen <arosen@nicira.com> | 2013-03-28 16:09:27 -0700 |
commit | 1ea02dbcf5ae3e822378a580ac1e54467f664be7 (patch) | |
tree | 520435ae0a364eb76868f4d77f015f9b3e0644d5 /nova/utils.py | |
parent | 20c9ee6918adf73a916aba8cef3048531ad7d9b7 (diff) | |
download | nova-1ea02dbcf5ae3e822378a580ac1e54467f664be7.tar.gz nova-1ea02dbcf5ae3e822378a580ac1e54467f664be7.tar.xz nova-1ea02dbcf5ae3e822378a580ac1e54467f664be7.zip |
get context from req rather than getting a new admin context
This patch removes the call to context.get_admin_context() and instead
obtains the context from the req object. Allowing the context.auth_token
to be reused.
Fixes bug 1161081
Change-Id: I3b104edc2966fc3263fad824b1c4c99df832672e
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions