Skip to content

Commit c24a743

Browse files
authored
Merge pull request #3050 from jterry75/fix_cpu_cap
Fix a bug in shim log on Windows that can cause 100% CPU utilization
2 parents e72ad44 + 828f6eb commit c24a743

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runtime/v2/shim_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func openShimLog(ctx context.Context, bundle *Bundle) (io.ReadCloser, error) {
7878
time.Second*10,
7979
)
8080
if conerr != nil {
81-
dpc.conerr = errors.Wrap(err, "failed to connect to shim log")
81+
dpc.conerr = errors.Wrap(conerr, "failed to connect to shim log")
8282
}
8383
dpc.c = c
8484
dpc.wg.Done()

0 commit comments

Comments
 (0)