commit 8db72b99f2d580cb2930041c15c04b73731fda76
Author: Dave McCowan <email address hidden>
Date: Mon Dec 7 14:28:52 2015 -0500
Check context before returning cached value
The key manager caches the value of barbican client to be reused,
saving an extra call to keystone. The cached value is only
applicable to the current context, so the context must be checked
before returning the cached value.
Closes-Bug: #1523646
Change-Id: I7cd7f1ba8a749b230c611e4fb20ccf4127354c35
(cherry picked from commit 676a53ce44a5624a553e80bcff339300802d5494)
Reviewed: https:/ /review. openstack. org/288490 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=8db72b99f2d 580cb2930041c15 c04b73731fda76
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 8db72b99f2d580c b2930041c15c04b 73731fda76
Author: Dave McCowan <email address hidden>
Date: Mon Dec 7 14:28:52 2015 -0500
Check context before returning cached value
The key manager caches the value of barbican client to be reused,
saving an extra call to keystone. The cached value is only
applicable to the current context, so the context must be checked
before returning the cached value.
Closes-Bug: #1523646
Change-Id: I7cd7f1ba8a749b 230c611e4fb20cc f4127354c35 a553e80bcff3393 00802d5494)
(cherry picked from commit 676a53ce44a5624