Skip to content

Commit

Permalink
Merge pull request #73 from leijux/master
Browse files Browse the repository at this point in the history
 The letter d is missing
  • Loading branch information
kursataktas authored Jun 13, 2022
2 parents 5aa3e95 + 527195c commit cac99e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions core/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@ func (e *engine) createWavedReqCountArr() {
}

func createLinearDistArr(count int, arr []int) {
len := len(arr)
minReqCount := int(count / len)
remaining := count - minReqCount*len
arrLen := len(arr)
minReqCount := int(count / arrLen)
remaining := count - minReqCount*arrLen
for i := range arr {
plusOne := 0
if i < remaining {
Expand Down
2 changes: 1 addition & 1 deletion core/types/scenario.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func (si *ScenarioItem) validate() error {
return nil
}

// AjustUrlProtocol adjusts the proper url-proto pair for the given ones.
// AdjustUrlProtocol adjusts the proper url-proto pair for the given ones.
// If url includes protocol then the new protocol will be the protocol in the url
// If url does not include protocol, then the new url will include the given protocol
// If url is not valid, then error will be returned
Expand Down

0 comments on commit cac99e2

Please sign in to comment.