If a v2 client passed {..., "adminurl": null, ...} in a endpoint-create
request, then the null value was being persisted on an endpoint with a
different interface value (i.e. a publicly facing endpoint would have an
"adminurl": null value inexplicably attached to it.)
This change simply pops null urls from the endpoint and discards them.
Reviewed: https:/ /review. openstack. org/24398 github. com/openstack/ keystone/ commit/ 0a81b69ef696264 654c37213f4954f 222fc78700
Committed: http://
Submitter: Jenkins
Branch: master
commit 0a81b69ef696264 654c37213f4954f 222fc78700
Author: Dolph Mathews <email address hidden>
Date: Wed Mar 13 21:59:38 2013 -0500
Discard null endpoints (bug 1152632)
If a v2 client passed {..., "adminurl": null, ...} in a endpoint-create
request, then the null value was being persisted on an endpoint with a
different interface value (i.e. a publicly facing endpoint would have an
"adminurl": null value inexplicably attached to it.)
This change simply pops null urls from the endpoint and discards them.
Change-Id: Idd0964b6ec34fb c8b979253d32f65 5ea9797f259