Skip to content

Commit f0fcdcc

Browse files
author
Mohd Uzair
authored
Merge pull request #302 from MUzairS15/fix
fix struct types
2 parents 2344172 + 75e27ba commit f0fcdcc

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)