Skip to content

Commit

Permalink
Merge pull request #298 from MUzairS15/nighthawk/fix
Browse files Browse the repository at this point in the history
change from int32 to string
  • Loading branch information
Mohd Uzair authored Jun 8, 2023
2 parents 657e0f6 + e44c4d7 commit d29db6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/client/transform.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func Transform(res *nighthawk_client.ExecutionResponse) ([]byte, error) {
// TODO resFortio.Label
resFortio.Version = res.Output.GetVersion().GetVersion().String()
resFortio.StartTime = res.Output.GetTimestamp()
resFortio.RequestedQPS = uint32(workers) * res.Output.Options.RequestsPerSecond.GetValue()
resFortio.RequestedQPS = fmt.Sprint(uint32(workers) * res.Output.Options.RequestsPerSecond.GetValue())
resFortio.URL = res.Output.Options.GetUri().GetValue()
resFortio.RequestedDuration = durationpb.New(res.Output.Options.GetDuration().AsDuration())
// actual duration
Expand Down
6 changes: 3 additions & 3 deletions pkg/proto/fortio.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d29db6c

Please sign in to comment.