Comment 5 for bug 1616797

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

Reviewed: https://review.opencontrail.org/23606
Committed: http://github.org/Juniper/contrail-controller/commit/681872321c672a4d581211bbda418e1b0d474983
Submitter: Zuul
Branch: R3.1

commit 681872321c672a4d581211bbda418e1b0d474983
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