Skip to content

Commit 2ebd4ae

Browse files
joobisbcstyan
authored andcommitted
fix: lint error
1 parent 177e9e4 commit 2ebd4ae

File tree

1 file changed

+4
-2
lines changed
  • scaletest/workspacetraffic

1 file changed

+4
-2
lines changed

scaletest/workspacetraffic/run.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,10 @@ func (r *Runner) Run(ctx context.Context, _ string, logs io.Writer) (err error)
210210
}
211211
}
212212

213-
func (r *Runner) GetBytesTransferred() (int64, int64) {
214-
return r.cfg.ReadMetrics.GetTotal(), r.cfg.WriteMetrics.GetTotal()
213+
func (r *Runner) GetBytesTransferred() (bytesRead, bytesWritten int64) {
214+
bytesRead = r.cfg.ReadMetrics.GetTotal()
215+
bytesWritten = r.cfg.WriteMetrics.GetTotal()
216+
return bytesRead, bytesWritten
215217
}
216218

217219
// Cleanup does nothing, successfully.

0 commit comments

Comments
 (0)