summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-04-09 19:43:39 +0700
committerShulhan <ms@kilabit.info>2021-04-09 19:43:39 +0700
commitad5d0d7e8785854e5cced5e1501ec5c3f8c00660 (patch)
tree43cfc6aea41169fe15ab25e622c20f798ad083eb
parent64928cfedb9faea524b1be3cbf9018d02d00d82a (diff)
downloadgorankusu-ad5d0d7e8785854e5cced5e1501ec5c3f8c00660.tar.xz
all: fix double slash when logging attack URL
-rw-r--r--trunks.go2
1 files changed, 1 insertions, 1 deletions
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)