Skip to content

Commit e04543d

Browse files
yyltk8s-infra-cherrypick-robot
authored andcommitted
use shimCtx for fifo copy
Signed-off-by: yylt <[email protected]>
1 parent a5b872b commit e04543d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/runtime/v2/shim.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ func loadShim(ctx context.Context, bundle *Bundle, onClose func()) (_ ShimInstan
9191
// To prevent flood of error messages, the expected error
9292
// should be reset, like os.ErrClosed or os.ErrNotExist, which
9393
// depends on platform.
94-
err = checkCopyShimLogError(ctx, err)
94+
err = checkCopyShimLogError(shimCtx, err)
9595
if err != nil {
96-
log.G(ctx).WithError(err).Error("copy shim log after reload")
96+
log.G(shimCtx).WithError(err).Error("copy shim log after reload")
9797
}
9898
}()
9999
onCloseWithShimLog := func() {

0 commit comments

Comments
 (0)