Skip to content

Commit

Permalink
Merge pull request #50 from fuweid/weifu/20240119/--raw-data
Browse files Browse the repository at this point in the history
runner: should read from --raw-data instead of --result
  • Loading branch information
fuweid authored Jan 19, 2024
2 parents 224c850 + 6882f39 commit 8cbfef5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/kperf/commands/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ var runCommand = cli.Command{
},
cli.BoolFlag{
Name: "raw-data",
Usage: "write ResponseStats to file in .json format",
Usage: "show raw letencies data in result",
},
},
Action: func(cliCtx *cli.Context) error {
Expand All @@ -86,7 +86,7 @@ var runCommand = cli.Command{
kubeCfgPath := cliCtx.String("kubeconfig")
userAgent := cliCtx.String("user-agent")
outputFilePath := cliCtx.String("result")
rawDataFlagIncluded := cliCtx.Bool("result")
rawDataFlagIncluded := cliCtx.Bool("raw-data")

conns := profileCfg.Spec.Conns
rate := profileCfg.Spec.Rate
Expand Down

0 comments on commit 8cbfef5

Please sign in to comment.