Skip to content

Commit

Permalink
Merge pull request #2140 from kolyshkin/context
Browse files Browse the repository at this point in the history
Switch from x/net/context to context
  • Loading branch information
Flavio Crisciani committed Apr 24, 2018
2 parents 51812c9 + c4d30f8 commit b1c7fd5
Show file tree
Hide file tree
Showing 7 changed files with 175 additions and 107 deletions.
3 changes: 2 additions & 1 deletion cluster/provider.go
@@ -1,8 +1,9 @@
package cluster

import (
"context"

"github.com/docker/docker/api/types/network"
"golang.org/x/net/context"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion cmd/dnet/dnet.go
Expand Up @@ -2,6 +2,7 @@ package main

import (
"bytes"
"context"
"encoding/json"
"errors"
"fmt"
Expand Down Expand Up @@ -36,7 +37,6 @@ import (
"github.com/docker/libnetwork/types"
"github.com/gorilla/mux"
"github.com/sirupsen/logrus"
"golang.org/x/net/context"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion vendor.conf
Expand Up @@ -48,7 +48,7 @@ github.com/ugorji/go f1f1a805ed361a0e078bb537e4ea78cd37dcf065
github.com/vishvananda/netlink b2de5d10e38ecce8607e6b438b6d174f389a004e
github.com/vishvananda/netns 604eaf189ee867d8c147fafc28def2394e878d25
golang.org/x/crypto 558b6879de74bc843225cde5686419267ff707ca
golang.org/x/net 7dcfb8076726a3fdd9353b6b8a1f1b6be6811bd6
golang.org/x/net b3756b4b77d7b13260a0a2ec658753cf48922eac
golang.org/x/sys 07c182904dbd53199946ba614a412c61d3c548f5
golang.org/x/sync fd80eb99c8f653c847d294a001bdf2a3a6f768f5
github.com/pkg/errors 839d9e913e063e28dfd0e6c7b7512793e0a48be9
Expand Down
102 changes: 0 additions & 102 deletions vendor/golang.org/x/net/context/context.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions vendor/golang.org/x/net/context/go19.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

109 changes: 109 additions & 0 deletions vendor/golang.org/x/net/context/pre_go19.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 42 additions & 2 deletions vendor/golang.org/x/net/proxy/proxy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b1c7fd5

Please sign in to comment.