Skip to content

Commit

Permalink
fix struct types
Browse files Browse the repository at this point in the history
Signed-off-by: MUzairS15 <[email protected]>
  • Loading branch information
MUzairS15 committed Jun 9, 2023
1 parent 2344172 commit 75e27ba
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 75e27ba

Please sign in to comment.