From ad5d0d7e8785854e5cced5e1501ec5c3f8c00660 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Fri, 9 Apr 2021 19:43:39 +0700 Subject: all: fix double slash when logging attack URL --- trunks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunks.go b/trunks.go index fc742c0..1707ba5 100644 --- a/trunks.go +++ b/trunks.go @@ -299,7 +299,7 @@ func (trunks *Trunks) apiTargetAttack(epr *libhttp.EndpointRequest) (resbody []b trunks.attackq <- req - msg := fmt.Sprintf("Attacking %s/%s with %d RPS for %s seconds", + msg := fmt.Sprintf("Attacking %s%s with %d RPS for %s seconds", req.Target.BaseUrl, req.HttpTarget.Path, req.Target.Opts.RatePerSecond, req.Target.Opts.Duration) -- cgit v1.3