feat(healthcheck): debug log args for teapot
This commit is contained in:
parent
df8ed72765
commit
55c53ea124
|
@ -33,6 +33,7 @@ func runTeapot(conf *conf.Conf) (checkResults []CheckResult, err error) {
|
||||||
conf.Teapot.ScoreboardPath,
|
conf.Teapot.ScoreboardPath,
|
||||||
"--group-config", strings.Join(formattedGroups, ","),
|
"--group-config", strings.Join(formattedGroups, ","),
|
||||||
}
|
}
|
||||||
|
slog.Debug("teapot check args", "args", args)
|
||||||
var stdoutBuf, stderrBuf bytes.Buffer
|
var stdoutBuf, stderrBuf bytes.Buffer
|
||||||
cmd := exec.Command("joint-teapot", args...) // #nosec G204
|
cmd := exec.Command("joint-teapot", args...) // #nosec G204
|
||||||
cmd.Stdout = &stdoutBuf
|
cmd.Stdout = &stdoutBuf
|
||||||
|
|
Loading…
Reference in New Issue
Block a user