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