feat(healthcheck): debug log args for teapot
All checks were successful
submodules sync / sync (push) Successful in 35s
build / build (push) Successful in 1m7s
build / trigger-build-image (push) Successful in 6s

This commit is contained in:
张泊明518370910136 2025-01-31 20:01:25 -05:00
parent df8ed72765
commit 55c53ea124
GPG Key ID: D47306D7062CDA9D

View File

@ -33,6 +33,7 @@ func runTeapot(conf *conf.Conf) (checkResults []CheckResult, err error) {
conf.Teapot.ScoreboardPath,
"--group-config", strings.Join(formattedGroups, ","),
}
slog.Debug("teapot check args", "args", args)
var stdoutBuf, stderrBuf bytes.Buffer
cmd := exec.Command("joint-teapot", args...) // #nosec G204
cmd.Stdout = &stdoutBuf