Correct port parsing. (#2354)
Correct port parsing. (#2354)

* Correct port parsing.

Fixes #2351

* use strings.Contains instead of strings.HasSuffix

* Make the error message point to the wrong input

wjam/vault,rnaveiras/vault,naunga/vault,joelthompson/vault,LolalyLuo/vault,kingland/vault,mgk/vault,kingland/vault,hashicorp/vault,Caiyeon/vault,MonsantoCo/vault,Aloomaio/vault,hashicorp/vault,mymercurialsky/vault,lirao/vault,michaelansel/vault,Aloomaio/vault,tallpauley/vault,rnaveiras/vault,mgk/vault,joelthompson/vault,jmhardison/vault,LolalyLuo/vault,mgk/vault,deverton/hashicorp-vault,hartsock/vault,jam-pot/vault,hartsock/vault,hashicorp/vault,rnaveiras/vault,Aloomaio/vault,chrishoffman/vault,kingland/vault,lemondrank/vault,ryon/vault,mgk/vault,joelthompson/vault,joelthompson/vault,Banno/vault,MonsantoCo/vault,chrishoffman/vault,rnaveiras/vault,wjam/vault,jmhardison/vault,Caiyeon/vault,jam-pot/vault,quixoten/vault,lemondrank/vault,tallpauley/vault,quixoten/vault,deverton/hashicorp-vault,Banno/vault,hartsock/vault,mymercurialsky/vault,quixoten/vault,jmhardison/vault,kingland/vault,quixoten/vault,kingland/vault,Aloomaio/vault,lirao/vault,jmhardison/vault,hashicorp/vault,ryon/vault,hartsock/vault,rnaveiras/vault,hashicorp/vault,jmhardison/vault,michaelansel/vault,hartsock/vault,hashicorp/vault,naunga/vault