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/109695 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=b8cf4521871 4937681d7df2e5b 9d7d440cb2edd9
Committed: https:/
Submitter: Jenkins
Branch: master
commit b8cf45218714937 681d7df2e5b9d7d 440cb2edd9
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.
Closes-Bug: #1348766 08dd58883d24649 51ecc6748e1
Change-Id: I512d01f9bb91b2