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:
commit
c24a74354c
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user