Fix bug in loader port specification
@@ -90,7 +90,7 @@ func main() {
host := serviceIP
if *port != 80 {
- host = fmt.Sprintf("%s:%d", host, port)
+ host = fmt.Sprintf("%s:%d", host, *port)
}
var targets []vegeta.Target
for _, path := range strings.Split(*paths, ",") {
