Skip to content

Commit a3f3a60

Browse files
authored
Merge pull request #3961 from AkihiroSuda/fix-3960
driverutil: allow external driver stderr
2 parents e963c32 + 6237eaf commit a3f3a60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/driverutil/vm.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func handlePreConfiguredDriverAction(ctx context.Context, y *limatype.LimaYAML,
9090
}
9191

9292
if stderrBuf.Len() > 0 {
93-
return fmt.Errorf("external driver stderr: %s", stderrBuf.String())
93+
logrus.Debugf("external driver stderr: %s", stderrBuf.String())
9494
}
9595

9696
*y = res
@@ -168,7 +168,7 @@ func handleInspectStatusAction(ctx context.Context, inst *limatype.Instance, ext
168168
}
169169

170170
if stderrBuf.Len() > 0 {
171-
return "", fmt.Errorf("external driver stderr: %s", stderrBuf.String())
171+
logrus.Debugf("external driver stderr: %s", stderrBuf.String())
172172
}
173173

174174
*inst = respInst

0 commit comments

Comments
 (0)