small fix

This commit is contained in:
Geoff Stuart 2022-11-28 11:03:30 -05:00
parent 1f70ced8e5
commit 68c9db0c82

View File

@ -424,9 +424,9 @@ var runCmd = &cli.Command{
},
},
Action: func(cctx *cli.Context) error {
timeout, err := time.ParseDuration(cctx.String("http-server-timeout"))
timeout, err := time.ParseDuration(cctx.String("http-timeout"))
if err != nil {
return xerrors.Errorf("invalid time string %s: %x", cctx.String("http-server-timeout"), err)
return xerrors.Errorf("invalid time string %s: %x", cctx.String("http-timeout"), err)
}
go func() {