DescriptionObtain Azure simplestreams endpoint from gwacl.
This matches an incompatible API change in gwacl r213. It asks gwacl for the right API endpoint to pass to simplestreams (China has a different one to the rest of the world) and removes the old hard-coded URL.
I also discovered to my embarrassment that getEndpoint was implemented twice: once as a method and once as a stand-alone function. The latter is all that's needed, and there's not much reason for the former. The tests turned out much simpler than originally envisaged.
https://code.launchpad.net/~jtv/juju-core/az-endpoint/+merge/178686
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 3
MessagesTotal messages: 4
|