File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import (
2727 "io"
2828 "net"
2929 "os"
30+ "os/exec"
3031 "os/signal"
3132 "runtime"
3233 "runtime/debug"
@@ -48,7 +49,6 @@ import (
4849 "github.com/containerd/containerd/version"
4950 "github.com/containerd/ttrpc"
5051 "github.com/sirupsen/logrus"
51- exec "golang.org/x/sys/execabs"
5252 "golang.org/x/sys/unix"
5353)
5454
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import (
2525 "io"
2626 "net"
2727 "os"
28+ "os/exec"
2829 "path/filepath"
2930 "strconv"
3031 "strings"
@@ -40,7 +41,6 @@ import (
4041 shimapi "github.com/containerd/containerd/runtime/v1/shim/v1"
4142 "github.com/containerd/containerd/sys"
4243 "github.com/containerd/ttrpc"
43- exec "golang.org/x/sys/execabs"
4444 "golang.org/x/sys/unix"
4545)
4646
Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ package client
1818
1919import (
2020 "fmt"
21+ "os/exec"
2122 "syscall"
2223
2324 "github.com/containerd/cgroups/v3/cgroup1"
24- exec "golang.org/x/sys/execabs"
2525)
2626
2727func getSysProcAttr () * syscall.SysProcAttr {
Original file line number Diff line number Diff line change 1919package client
2020
2121import (
22+ "os/exec"
2223 "syscall"
23-
24- exec "golang.org/x/sys/execabs"
2524)
2625
2726func getSysProcAttr () * syscall.SysProcAttr {
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import (
2323 "fmt"
2424 "io"
2525 "os"
26+ "os/exec"
2627 "path/filepath"
2728 goruntime "runtime"
2829 "sync"
@@ -51,7 +52,6 @@ import (
5152 runcC "github.com/containerd/go-runc"
5253 "github.com/containerd/typeurl/v2"
5354 "github.com/sirupsen/logrus"
54- exec "golang.org/x/sys/execabs"
5555 "golang.org/x/sys/unix"
5656)
5757
You can’t perform that action at this time.
0 commit comments