File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package manager
22
3- import (
4- exec "golang.org/x/sys/execabs"
5- )
3+ import "os/exec"
64
75// Candidate represents a possible plugin candidate, for mocking purposes
86type Candidate interface {
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package manager
33import (
44 "context"
55 "os"
6+ "os/exec"
67 "path/filepath"
78 "sort"
89 "strings"
@@ -13,7 +14,6 @@ import (
1314 "github.com/fvbommel/sortorder"
1415 "github.com/spf13/cobra"
1516 "golang.org/x/sync/errgroup"
16- exec "golang.org/x/sys/execabs"
1717)
1818
1919// ReexecEnvvar is the name of an ennvar which is set to the command
Original file line number Diff line number Diff line change 88 "io"
99 "net/http"
1010 "os"
11+ "os/exec"
1112 "path/filepath"
1213 "runtime"
1314 "strings"
@@ -22,7 +23,6 @@ import (
2223 "github.com/docker/docker/pkg/stringid"
2324 "github.com/moby/patternmatcher"
2425 "github.com/pkg/errors"
25- exec "golang.org/x/sys/execabs"
2626)
2727
2828const (
Original file line number Diff line number Diff line change 11package credentials
22
3- import (
4- exec "golang.org/x/sys/execabs"
5- )
3+ import "os/exec"
64
75// DetectDefaultStore return the default credentials store for the platform if
86// no user-defined store is passed, and the store executable is available.
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import (
2020 "io"
2121 "net"
2222 "os"
23+ "os/exec"
2324 "runtime"
2425 "strings"
2526 "sync"
@@ -28,7 +29,6 @@ import (
2829
2930 "github.com/pkg/errors"
3031 "github.com/sirupsen/logrus"
31- exec "golang.org/x/sys/execabs"
3232)
3333
3434// New returns net.Conn
You can’t perform that action at this time.
0 commit comments