Skip to content

Commit

Permalink
change from int32 to string
Browse files Browse the repository at this point in the history
Signed-off-by: MUzairS15 <[email protected]>
  • Loading branch information
MUzairS15 committed Jun 8, 2023
1 parent 657e0f6 commit e44c4d7
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 e44c4d7

Please sign in to comment.