diff options
| author | Shulhan <ms@kilabit.info> | 2021-03-21 15:38:14 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-03-21 15:45:33 +0700 |
| commit | 04ea6f8bb0aea5fcb40c2720d45aa6bc0570a967 (patch) | |
| tree | 56471c7d42894c924e296d02c92608072ec0c145 /errors.go | |
| parent | 524962c1c8e26cec26fa356719ed990a4a4c82f1 (diff) | |
| download | gorankusu-04ea6f8bb0aea5fcb40c2720d45aa6bc0570a967.tar.xz | |
all: rename loadTestingResult to AttackResult
Diffstat (limited to 'errors.go')
| -rw-r--r-- | errors.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,14 +12,14 @@ import ( libhttp "github.com/shuLhan/share/lib/http" ) -func errAttackConflict(ltr *loadTestingResult) error { +func errAttackConflict(ar *AttackResult) error { res := &libhttp.EndpointResponse{ E: liberrors.E{ Code: http.StatusConflict, Message: "another attack is already running", Name: "ERR_ATTACK_CONFLICT", }, - Data: ltr, + Data: ar, } return res } |
