Comment 1 for bug 1354175

Revision history for this message
David Britton (dpb) wrote :

Here is a simple a simple patch that allows this to be overridden for testing purposes (you can pass in the full wss://<host>:port url to that --endpoint option), I'm not suggesting that is the right fix.

### "patch" for a workaround.

ubuntu@ubuntu-local-machine-1:/usr/lib/python2.7/dist-packages/deployer$ diff env/go.orig.py env/go.py
27c27
< self.api_endpoint = endpoint
---
> self.api_endpoint = options.endpoint
ubuntu@ubuntu-local-machine-1:/usr/lib/python2.7/dist-packages/deployer$ diff cli.orig.py cli.py
117a118,119
> parser.add_argument(
> '--endpoint', action='store', dest='endpoint')