1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #37449 from thaJeztah/in_a_different_context

Remove stray uses of "golang.org/x/net/context"
This commit is contained in:
Akihiro Suda 2018-07-15 01:15:36 +09:00 committed by GitHub
commit d080de7074
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 6 deletions

View file

@ -8,10 +8,8 @@ package {{ .Package }}
// ----------------------------------------------------------------------------
import (
"context"
"net/http"
context "golang.org/x/net/context"
{{ range .DefaultImports }}{{ printf "%q" . }}
{{ end }}
{{ range $key, $value := .Imports }}{{ $key }} {{ printf "%q" $value }}

View file

@ -1,9 +1,8 @@
package client // import "github.com/docker/docker/client"
import (
"context"
"net/url"
"golang.org/x/net/context"
)
// BuildCancel requests the daemon to cancel ongoing build request

View file

@ -1,6 +1,7 @@
package client
import (
"context"
"fmt"
"io/ioutil"
"net"
@ -12,7 +13,6 @@ import (
"github.com/docker/docker/api/server/httputils"
"github.com/docker/docker/api/types"
"github.com/pkg/errors"
"golang.org/x/net/context"
"gotest.tools/assert"
)