Skip to content

Commit d29db6c

Browse files
author
Mohd Uzair
authored
Merge pull request #298 from MUzairS15/nighthawk/fix
change from int32 to string
2 parents 657e0f6 + e44c4d7 commit d29db6c

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 = uint32(workers) * res.Output.Options.RequestsPerSecond.GetValue()
26+
resFortio.RequestedQPS = fmt.Sprint(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)