Skip to content

Commit 53ec89b

Browse files
arschlesAaron Schlesinger
authored andcommitted
fix(build.go): add the necessary second param to strings.Join
1 parent d145ec4 commit 53ec89b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

pkg/gitreceive/build.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,12 @@ func build(conf *Config, newRev string) error {
356356
var out bytes.Buffer
357357
getCmd.Stdout = &out
358358
if err := getCmd.Run(); err != nil {
359-
return fmt.Errorf("running %s while determining if builder pod %s is running (%s)", buildPodName, err)
359+
return fmt.Errorf(
360+
"running %s while determining if builder pod %s is running (%s)",
361+
strings.Join(getCmd.Args, " "),
362+
buildPodName,
363+
err,
364+
)
360365
}
361366
if strings.Contains(string(out.Bytes()), "phase: Running") {
362367
break

0 commit comments

Comments
 (0)