This patch moves the hash update call into the success block
of the server manager so the database isn't updated with
a hash header from an error response. Additionally, it prevents
the hash from being updated to an empty value if the hash header
is not present in the response.
Reviewed: https:/ /review. openstack. org/112059 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=af2cc98f38b 0efb7c52df8e363 b876f285ccbb68
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit af2cc98f38b0efb 7c52df8e363b876 f285ccbb68
Author: Kevin Benton <email address hidden>
Date: Fri Jul 25 12:25:39 2014 -0700
Big Switch: Only update hash header on success
This patch moves the hash update call into the success block
of the server manager so the database isn't updated with
a hash header from an error response. Additionally, it prevents
the hash from being updated to an empty value if the hash header
is not present in the response.
Conflicts:
neutron/ tests/unit/ bigswitch/ test_servermana ger.py
Closes-Bug: #1348766 08dd58883d24649 51ecc6748e1 681d7df2e5b9d7d 440cb2edd9)
Change-Id: I512d01f9bb91b2
(cherry picked from commit b8cf45218714937