Fix missing return
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
This commit is contained in:
parent
1443da627c
commit
c17ff97439
1 changed files with 4 additions and 0 deletions
|
@ -88,6 +88,10 @@ func (c *Client) Multipart(bucket, key string, objPartSize int, payload goja.Arr
|
|||
stats.Report(c.vu, objPutFails, 1)
|
||||
return PutResponse{Success: false, Error: err.Error()}
|
||||
}
|
||||
stats.Report(c.vu, objPutTotal, 1)
|
||||
stats.ReportDataSent(c.vu, float64(sz))
|
||||
stats.Report(c.vu, objPutDuration, metrics.D(time.Since(start)))
|
||||
return PutResponse{Success: true}
|
||||
}
|
||||
|
||||
func (c *Client) Delete(bucket, key string) DeleteResponse {
|
||||
|
|
Loading…
Add table
Reference in a new issue