1. 3

  2. 1

    I don’t think that “shell script in go” is doing what its author intended. Output only returns what is written to stdout, but in case of failure the interesting information is probably written to stderr. The docs for Output() state that it populates ExitError.Stderr, so that could be used.

    (I didn’t actually verify this as it probably requires setting up kubernetes.)