-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runner subcmd: support -v flag for run #45
Conversation
07435a6
to
df49971
Compare
df49971
to
4487bbd
Compare
44bc663
to
0ffa88d
Compare
cmd/kperf/commands/runner/runner.go
Outdated
}, | ||
Action: func(cliCtx *cli.Context) error { | ||
// initialize klog | ||
klog.InitFlags(nil) | ||
flag.Set("v", strconv.Itoa(cliCtx.Int("v"))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to check err.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added to check err, change flag to string, in order to have the error check work. I can leave it as int flag but the urfave/cli error kicks in before the action.
update helm chart and value yaml update helm chart and value yaml
fd158ef
to
f83f9ad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
added klog and support for -v. Using -v=9 for request debug.