Skip to content

Commit

Permalink
Merge pull request #302 from MUzairS15/fix
Browse files Browse the repository at this point in the history
fix struct types
  • Loading branch information
Mohd Uzair authored Jun 9, 2023
2 parents 2344172 + 75e27ba commit f0fcdcc
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 = fmt.Sprint(uint32(workers) * res.Output.Options.RequestsPerSecond.GetValue())
resFortio.RequestedQPS = 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 f0fcdcc

Please sign in to comment.