Skip to content

Commit

Permalink
responsiveness.go: "intput" fix to input (#1407)
Browse files Browse the repository at this point in the history
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
  • Loading branch information
Guangming Wang authored and GiedriusS committed Aug 13, 2019
1 parent e1823fe commit 7e30486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/cmd/thanosbench/responsiveness.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func testStoreResponsiveness(logger log.Logger, opts *opts) error {
fmt.Printf("WARNING: this will delete all data in the bucket (%s). Do you want to continue? Y/n: ", *opts.bucket)
var resp string
if _, err := fmt.Scanln(&resp); err != nil {
return errors.Wrap(err, "failed to confirm intput")
return errors.Wrap(err, "failed to confirm input")
}
if resp != "Y" && resp != "y" {
return nil
Expand Down

0 comments on commit 7e30486

Please sign in to comment.