commit a7ba3c323b16227e0ba2527f21bc89625f125234
Author: Steven Hardy <email address hidden>
Date: Tue Nov 19 16:06:18 2013 +0000
Don't call credentials_headers() twice
We don't need to call credentials_headers in the stack create/update
code, as it's already called in the HTTPClient. This has the side-
effect of simplifying the shell test, which currently has to mock
header arguments to json_request, which are incorrect anyway because
HTTPClient always sets X-Auth-Token if a token is passed in (as
evidenced by bug #1250731)
Reviewed: https:/ /review. openstack. org/57280 github. com/openstack/ python- heatclient/ commit/ a7ba3c323b16227 e0ba2527f21bc89 625f125234
Committed: http://
Submitter: Jenkins
Branch: master
commit a7ba3c323b16227 e0ba2527f21bc89 625f125234
Author: Steven Hardy <email address hidden>
Date: Tue Nov 19 16:06:18 2013 +0000
Don't call credentials_ headers( ) twice
We don't need to call credentials_headers in the stack create/update
code, as it's already called in the HTTPClient. This has the side-
effect of simplifying the shell test, which currently has to mock
header arguments to json_request, which are incorrect anyway because
HTTPClient always sets X-Auth-Token if a token is passed in (as
evidenced by bug #1250731)
Change-Id: I6212cf5a50f5a8 d919f743e23ece4 bd1d0e1ad1c
Partial-Bug: #1252248