racker/rackspace-monitoring — pull request #26 by Kami (2013-06-13 20:22:04+00:00)
Title: Fix endpoint parsing

This pull request fixes an issue which could happen when using a staging auth endpoint.

Cloud Monitoring entry in the staging service catalog contains `region` attribute and the one in the production doesn't.

This means using `get_endpoint` won't work because we don't know the region name upfront.

Cloud Monitoring only has a single endpoint so we use `get_endpoints` and just use the first returned endpoint.