Skip to content

Commit

Permalink
remove flag for debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
Sara Wei committed Mar 11, 2024
1 parent fc1a5d3 commit 6a63f88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/kperf/commands/runnergroup/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@ var Command = cli.Command{
statusCommand,
},
}

// debuLog function to log messages using klog.
func debugLog(level klog.Level, format string, args ...interface{}) {

Check failure on line 31 in cmd/kperf/commands/runnergroup/root.go

View workflow job for this annotation

GitHub Actions / linter

undefined: klog

Check failure on line 31 in cmd/kperf/commands/runnergroup/root.go

View workflow job for this annotation

GitHub Actions / linter

undefined: klog

Check failure on line 31 in cmd/kperf/commands/runnergroup/root.go

View workflow job for this annotation

GitHub Actions / test

undefined: klog

Check failure on line 31 in cmd/kperf/commands/runnergroup/root.go

View workflow job for this annotation

GitHub Actions / build

undefined: klog
klog.V(level).Infof(format, args...)

Check failure on line 32 in cmd/kperf/commands/runnergroup/root.go

View workflow job for this annotation

GitHub Actions / linter

undefined: klog (typecheck)

Check failure on line 32 in cmd/kperf/commands/runnergroup/root.go

View workflow job for this annotation

GitHub Actions / linter

undefined: klog) (typecheck)

Check failure on line 32 in cmd/kperf/commands/runnergroup/root.go

View workflow job for this annotation

GitHub Actions / test

undefined: klog

Check failure on line 32 in cmd/kperf/commands/runnergroup/root.go

View workflow job for this annotation

GitHub Actions / build

undefined: klog
}
1 change: 1 addition & 0 deletions cmd/kperf/commands/runnergroup/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ var runCommand = cli.Command{
}

kubeCfgPath := cliCtx.GlobalString("kubeconfig")

return runner.CreateRunnerGroupServer(context.Background(),
kubeCfgPath,
imgRef,
Expand Down

0 comments on commit 6a63f88

Please sign in to comment.