Ensure X-Auth-All-Projects header value is a string
Header values are strings so we should provide a string as X-Auth-All-Projects header value instead of a boolean (which is transformed into: "<type 'bool'>" by python-requests) Change-Id: Id4172f424565da5afb1f310195a0b7ba37674064
This commit is contained in:
parent
e1b61247c1
commit
850bee7d28
@ -58,7 +58,7 @@ class DesignateAdapter(adapter.LegacyJsonAdapter):
|
|||||||
if self.all_projects:
|
if self.all_projects:
|
||||||
kwargs['headers'].setdefault(
|
kwargs['headers'].setdefault(
|
||||||
'X-Auth-All-Projects',
|
'X-Auth-All-Projects',
|
||||||
self.all_projects
|
str(self.all_projects)
|
||||||
)
|
)
|
||||||
|
|
||||||
if self.edit_managed:
|
if self.edit_managed:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user