Comment 9 for bug 1616797

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

Reviewed: https://review.opencontrail.org/23639
Committed: http://github.org/Juniper/contrail-controller/commit/9a0c7e056750c2bcb61f9680393c30ef5acc2d58
Submitter: Zuul
Branch: master

commit 9a0c7e056750c2bcb61f9680393c30ef5acc2d58
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)