diff options
| author | Shulhan <ms@kilabit.info> | 2021-04-09 19:43:39 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-04-09 19:43:39 +0700 |
| commit | ad5d0d7e8785854e5cced5e1501ec5c3f8c00660 (patch) | |
| tree | 43cfc6aea41169fe15ab25e622c20f798ad083eb | |
| parent | 64928cfedb9faea524b1be3cbf9018d02d00d82a (diff) | |
| download | gorankusu-ad5d0d7e8785854e5cced5e1501ec5c3f8c00660.tar.xz | |
all: fix double slash when logging attack URL
| -rw-r--r-- | trunks.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
