Replace golang.org/x/net/context with std library

Signed-off-by: Shengjing Zhu <zhsj@debian.org>
This commit is contained in:
Shengjing Zhu
2022-02-22 02:15:03 +08:00
parent d128c3767b
commit f4f41296c2
62 changed files with 68 additions and 71 deletions

View File

@@ -20,11 +20,11 @@
package server
import (
"context"
"fmt"
"io"
"github.com/containerd/containerd/errdefs"
"golang.org/x/net/context"
)
// portForward uses netns to enter the sandbox namespace, and forwards a stream inside the