mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 18:11:35 +00:00
cmd: Use "context" instead of "x/net/context"
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
c4f8af23ff
commit
e410070401
@ -4,6 +4,7 @@ package moby
|
|||||||
// and also using the Docker API not shelling out
|
// and also using the Docker API not shelling out
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
@ -18,7 +19,6 @@ import (
|
|||||||
"github.com/docker/docker/api/types/filters"
|
"github.com/docker/docker/api/types/filters"
|
||||||
"github.com/docker/docker/client"
|
"github.com/docker/docker/client"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"golang.org/x/net/context"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func dockerRun(input io.Reader, output io.Writer, trust bool, img string, args ...string) error {
|
func dockerRun(input io.Reader, output io.Writer, trust bool, img string, args ...string) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user