Merge pull request #3050 from jterry75/fix_cpu_cap

Fix a bug in shim log on Windows that can cause 100% CPU utilization
This commit is contained in:
Derek McGowan
2019-02-27 17:32:38 -08:00
committed by GitHub

View File

@@ -78,7 +78,7 @@ func openShimLog(ctx context.Context, bundle *Bundle) (io.ReadCloser, error) {
time.Second*10,
)
if conerr != nil {
dpc.conerr = errors.Wrap(err, "failed to connect to shim log")
dpc.conerr = errors.Wrap(conerr, "failed to connect to shim log")
}
dpc.c = c
dpc.wg.Done()