Skip to content

Commit

Permalink
Update cmd/benchmark.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jaime Soriano Pastor <[email protected]>
  • Loading branch information
aspacca and jsoriano authored Dec 8, 2023
1 parent 6398ec6 commit 52e3c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/benchmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ func streamCommandAction(cmd *cobra.Command, args []string) error {

benchName, err := cmd.Flags().GetString(cobraext.BenchNameFlagName)
if err != nil {
benchName = ""
return cobraext.FlagParsingError(err, cobraext.VariantFlagName)
}

backFill, err := cmd.Flags().GetDuration(cobraext.BenchStreamBackFillFlagName)
Expand Down

0 comments on commit 52e3c59

Please sign in to comment.