INNER CODE UNIT · Go

exitOnErr

redpanda-data/connect · benchmarking/aws/runner/main.go:70

func exitOnErr(err error) {
	if err != nil {
		fmt.Fprintln(os.Stderr, "error:", err)
		os.Exit(1)
	}
}

func usage() {
	fmt.Fprintln(os.Stderr, `usage:
  runner bench --scenario=<path> [--keep] [--keep-on-fail]
  runner validate --scenario=<path>
  runner down --scenario=<path>
  runner cost-check
  runner summary [--repo-root=<path>]`)
}

type benchOpts struct {
	scenarioPath string

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…