fanmin shi 8a63071463 etcd-tester: fix peer-port parsing bug with localhost url
The following format "http://localhost:1234" causes existing port parser to fail. Add new logic to parse the host name first then extract port.

Fixes #6409
2016-09-12 13:29:52 -07:00
..
2016-07-01 15:31:49 -07:00
2016-07-01 15:31:49 -07:00
2016-05-12 20:50:17 -07:00
2016-05-12 20:50:17 -07:00
2016-05-12 20:50:17 -07:00
2016-08-17 09:51:44 -07:00
2016-05-12 20:50:17 -07:00