Skip to content

Commit 3cf60c7

Browse files
author
Moritz Clasmeier
committed
Also capture stderr
1 parent 930033b commit 3cf60c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/deployer/local_images_minikube.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func (k *minikubeImagePreLoader) Name() string {
3131
}
3232

3333
func (k *minikubeImagePreLoader) GetImages(ctx context.Context) ([]string, error) {
34-
output, err := exec.CommandContext(ctx, minikubeGetImagesCommand[0], minikubeGetImagesCommand[1:]...).Output()
34+
output, err := exec.CommandContext(ctx, minikubeGetImagesCommand[0], minikubeGetImagesCommand[1:]...).CombinedOutput()
3535
if err != nil {
3636
k.log.Warningf("Command %q failed: %v", strings.Join(minikubeGetImagesCommand, " "), err)
3737
for line := range strings.SplitSeq(strings.TrimSpace(string(output)), "\n") {

0 commit comments

Comments
 (0)