Comment 10 for bug 1616797

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/23641
Committed: http://github.org/Juniper/contrail-controller/commit/0b01d6324f0d14ea3f3b06e99a0e9d1fdf3aa75b
Submitter: Zuul
Branch: R3.0

commit 0b01d6324f0d14ea3f3b06e99a0e9d1fdf3aa75b
Author: Megh Bhatt <email address hidden>
Date: Thu Aug 25 18:25:12 2016 -0700

Check for presence of 'X-USER-TOKEN' in self._headers before deleting

self._headers can be set to empty if self._authenticate raises an
Exception and hence we need to check if key 'X-USER-TOKEN' is
present before trying to delete it

Change-Id: I31bba531667f424de30c0c03302301c0c171a60d
Partial-Bug: #1616797
(cherry picked from commit 681872321c672a4d581211bbda418e1b0d474983)