Skip to content

Commit 75e27ba

Browse files
author
MUzairS15
committed
fix struct types
Signed-off-by: MUzairS15 <muzair.shaikh810@gmail.com>
1 parent 2344172 commit 75e27ba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pkg/client/transform.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func Transform(res *nighthawk_client.ExecutionResponse) ([]byte, error) {
2323
// TODO resFortio.Label
2424
resFortio.Version = res.Output.GetVersion().GetVersion().String()
2525
resFortio.StartTime = res.Output.GetTimestamp()
26-
resFortio.RequestedQPS = fmt.Sprint(uint32(workers) * res.Output.Options.RequestsPerSecond.GetValue())
26+
resFortio.RequestedQPS = uint32(workers) * res.Output.Options.RequestsPerSecond.GetValue()
2727
resFortio.URL = res.Output.Options.GetUri().GetValue()
2828
resFortio.RequestedDuration = durationpb.New(res.Output.Options.GetDuration().AsDuration())
2929
// actual duration

pkg/proto/fortio.pb.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)