endpoint_data_for() function just returned first candidate of entry points by endpoint_data_list[0] when there were multiple choice for endpoints.
Since there is no guarantee for endpoint order, I found that if client API which did not specify any scope like region, an endpoint returned is changed randomly.
imho, library code should provide precisely defined behavior, so that client can expect and maybe this case could raise mulitiple choice exception.
in keystoneauth1/ access/ service_ catalog. py
endpoint_data_for() function just returned first candidate of entry points by endpoint_ data_list[ 0] when there were multiple choice for endpoints.
Since there is no guarantee for endpoint order, I found that if client API which did not specify any scope like region, an endpoint returned is changed randomly.
imho, library code should provide precisely defined behavior, so that client can expect and maybe this case could raise mulitiple choice exception.
Thanks.