diff options
Diffstat (limited to 'recipes-containers/docker/files/context-use-golang.org-x-net-pkg-until-we-move-to-go.patch')
| -rw-r--r-- | recipes-containers/docker/files/context-use-golang.org-x-net-pkg-until-we-move-to-go.patch | 57 |
1 files changed, 8 insertions, 49 deletions
diff --git a/recipes-containers/docker/files/context-use-golang.org-x-net-pkg-until-we-move-to-go.patch b/recipes-containers/docker/files/context-use-golang.org-x-net-pkg-until-we-move-to-go.patch index 240b7441..c43a7e74 100644 --- a/recipes-containers/docker/files/context-use-golang.org-x-net-pkg-until-we-move-to-go.patch +++ b/recipes-containers/docker/files/context-use-golang.org-x-net-pkg-until-we-move-to-go.patch | |||
| @@ -11,20 +11,16 @@ walwrap.go:4:2: cannot find package "context" in any of: | |||
| 11 | 11 | ||
| 12 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> | 12 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> |
| 13 | --- | 13 | --- |
| 14 | client/README.md | 2 +- | 14 | client/README.md | 2 +- |
| 15 | client/client.go | 2 +- | 15 | client/client.go | 2 +- |
| 16 | daemon/info_unix.go | 2 +- | 16 | daemon/info_unix.go | 2 +- |
| 17 | integration-cli/docker_api_attach_test.go | 2 +- | 17 | integration-cli/docker_api_attach_test.go | 2 +- |
| 18 | integration-cli/docker_cli_save_load_unix_test.go | 2 +- | 18 | integration-cli/docker_cli_save_load_unix_test.go | 2 +- |
| 19 | vendor/github.com/docker/swarmkit/manager/logbroker/subscription.go | 2 +- | 19 | 5 files changed, 5 insertions(+), 5 deletions(-) |
| 20 | vendor/github.com/docker/swarmkit/manager/state/raft/storage/walwrap.go | 2 +- | ||
| 21 | 7 files changed, 7 insertions(+), 7 deletions(-) | ||
| 22 | 20 | ||
| 23 | diff --git a/client/README.md b/client/README.md | ||
| 24 | index 059dfb3..9de54aa 100644 | ||
| 25 | --- a/client/README.md | 21 | --- a/client/README.md |
| 26 | +++ b/client/README.md | 22 | +++ b/client/README.md |
| 27 | @@ -8,7 +8,7 @@ For example, to list running containers (the equivalent of `docker ps`): | 23 | @@ -8,7 +8,7 @@ For example, to list running containers |
| 28 | package main | 24 | package main |
| 29 | 25 | ||
| 30 | import ( | 26 | import ( |
| @@ -33,11 +29,9 @@ index 059dfb3..9de54aa 100644 | |||
| 33 | "fmt" | 29 | "fmt" |
| 34 | 30 | ||
| 35 | "github.com/docker/docker/api/types" | 31 | "github.com/docker/docker/api/types" |
| 36 | diff --git a/client/client.go b/client/client.go | ||
| 37 | index a9bdab6..95933af 100644 | ||
| 38 | --- a/client/client.go | 32 | --- a/client/client.go |
| 39 | +++ b/client/client.go | 33 | +++ b/client/client.go |
| 40 | @@ -19,7 +19,7 @@ For example, to list running containers (the equivalent of "docker ps"): | 34 | @@ -19,7 +19,7 @@ For example, to list running containers |
| 41 | package main | 35 | package main |
| 42 | 36 | ||
| 43 | import ( | 37 | import ( |
| @@ -46,8 +40,6 @@ index a9bdab6..95933af 100644 | |||
| 46 | "fmt" | 40 | "fmt" |
| 47 | 41 | ||
| 48 | "github.com/docker/docker/api/types" | 42 | "github.com/docker/docker/api/types" |
| 49 | diff --git a/daemon/info_unix.go b/daemon/info_unix.go | ||
| 50 | index 9c41c0e..57f8a7b 100644 | ||
| 51 | --- a/daemon/info_unix.go | 43 | --- a/daemon/info_unix.go |
| 52 | +++ b/daemon/info_unix.go | 44 | +++ b/daemon/info_unix.go |
| 53 | @@ -3,7 +3,7 @@ | 45 | @@ -3,7 +3,7 @@ |
| @@ -59,8 +51,6 @@ index 9c41c0e..57f8a7b 100644 | |||
| 59 | "os/exec" | 51 | "os/exec" |
| 60 | "strings" | 52 | "strings" |
| 61 | 53 | ||
| 62 | diff --git a/integration-cli/docker_api_attach_test.go b/integration-cli/docker_api_attach_test.go | ||
| 63 | index d43bf3a..e5802a7 100644 | ||
| 64 | --- a/integration-cli/docker_api_attach_test.go | 54 | --- a/integration-cli/docker_api_attach_test.go |
| 65 | +++ b/integration-cli/docker_api_attach_test.go | 55 | +++ b/integration-cli/docker_api_attach_test.go |
| 66 | @@ -3,7 +3,7 @@ package main | 56 | @@ -3,7 +3,7 @@ package main |
| @@ -72,8 +62,6 @@ index d43bf3a..e5802a7 100644 | |||
| 72 | "io" | 62 | "io" |
| 73 | "net" | 63 | "net" |
| 74 | "net/http" | 64 | "net/http" |
| 75 | diff --git a/integration-cli/docker_cli_save_load_unix_test.go b/integration-cli/docker_cli_save_load_unix_test.go | ||
| 76 | index 22445e5..d0afc8c 100644 | ||
| 77 | --- a/integration-cli/docker_cli_save_load_unix_test.go | 65 | --- a/integration-cli/docker_cli_save_load_unix_test.go |
| 78 | +++ b/integration-cli/docker_cli_save_load_unix_test.go | 66 | +++ b/integration-cli/docker_cli_save_load_unix_test.go |
| 79 | @@ -3,7 +3,7 @@ | 67 | @@ -3,7 +3,7 @@ |
| @@ -85,32 +73,3 @@ index 22445e5..d0afc8c 100644 | |||
| 85 | "fmt" | 73 | "fmt" |
| 86 | "io/ioutil" | 74 | "io/ioutil" |
| 87 | "os" | 75 | "os" |
| 88 | diff --git a/vendor/github.com/docker/swarmkit/manager/logbroker/subscription.go b/vendor/github.com/docker/swarmkit/manager/logbroker/subscription.go | ||
| 89 | index 6b3295a..cbfcf7e 100644 | ||
| 90 | --- a/vendor/github.com/docker/swarmkit/manager/logbroker/subscription.go | ||
| 91 | +++ b/vendor/github.com/docker/swarmkit/manager/logbroker/subscription.go | ||
| 92 | @@ -1,7 +1,7 @@ | ||
| 93 | package logbroker | ||
| 94 | |||
| 95 | import ( | ||
| 96 | - "context" | ||
| 97 | + "golang.org/x/net/context" | ||
| 98 | "fmt" | ||
| 99 | "strings" | ||
| 100 | "sync" | ||
| 101 | diff --git a/vendor/github.com/docker/swarmkit/manager/state/raft/storage/walwrap.go b/vendor/github.com/docker/swarmkit/manager/state/raft/storage/walwrap.go | ||
| 102 | index 5a6c71a..efe5921 100644 | ||
| 103 | --- a/vendor/github.com/docker/swarmkit/manager/state/raft/storage/walwrap.go | ||
| 104 | +++ b/vendor/github.com/docker/swarmkit/manager/state/raft/storage/walwrap.go | ||
| 105 | @@ -1,7 +1,7 @@ | ||
| 106 | package storage | ||
| 107 | |||
| 108 | import ( | ||
| 109 | - "context" | ||
| 110 | + "golang.org/x/net/context" | ||
| 111 | "io" | ||
| 112 | "io/ioutil" | ||
| 113 | "os" | ||
| 114 | -- | ||
| 115 | 2.7.4 | ||
| 116 | |||
