Skip to content

Commit af4022b

Browse files
committed
[FAB-15483] updated vendored docker client
Change-Id: I1aef842b2bebbcd367b8eabcab62bbb5b09f5e75 Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
1 parent 7677a52 commit af4022b

File tree

119 files changed

+2097
-3485
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+2097
-3485
lines changed

Gopkg.lock

Lines changed: 27 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,7 @@ noverify = [
3030

3131
[[constraint]]
3232
name = "github.com/fsouza/go-dockerclient"
33-
version = "=1.3.0"
34-
35-
# Pinned in support of go-dockerclient
36-
[[override]]
37-
name = "github.com/docker/docker"
38-
revision = "0c5f8d2b9b23ab8d23529b3effdcf53bb058298c"
39-
40-
# Pinned in support of go-dockerclient
41-
[[override]]
42-
name = "github.com/docker/libnetwork"
43-
revision = "19279f0492417475b6bfbd0aa529f73e8f178fb5"
33+
version = "1.3.0"
4434

4535
[[constraint]]
4636
name = "github.com/golang/protobuf"

internal/peer/node/start.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,6 +1053,9 @@ func getDockerHostConfig() *docker.HostConfig {
10531053
networkMode = "host"
10541054
}
10551055

1056+
memorySwappiness := getInt64("MemorySwappiness")
1057+
oomKillDisable := viper.GetBool(dockerKey("OomKillDisable"))
1058+
10561059
return &docker.HostConfig{
10571060
CapAdd: viper.GetStringSlice(dockerKey("CapAdd")),
10581061
CapDrop: viper.GetStringSlice(dockerKey("CapDrop")),
@@ -1071,8 +1074,8 @@ func getDockerHostConfig() *docker.HostConfig {
10711074
CgroupParent: viper.GetString(dockerKey("CgroupParent")),
10721075
Memory: getInt64("Memory"),
10731076
MemorySwap: getInt64("MemorySwap"),
1074-
MemorySwappiness: getInt64("MemorySwappiness"),
1075-
OOMKillDisable: viper.GetBool(dockerKey("OomKillDisable")),
1077+
MemorySwappiness: &memorySwappiness,
1078+
OOMKillDisable: &oomKillDisable,
10761079
CPUShares: getInt64("CpuShares"),
10771080
CPUSet: viper.GetString(dockerKey("Cpuset")),
10781081
CPUSetCPUs: viper.GetString(dockerKey("CpusetCPUs")),

vendor/github.com/Microsoft/hcsshim/LICENSE

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Microsoft/hcsshim/cmd/runhcs/LICENSE

Lines changed: 191 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Microsoft/hcsshim/cmd/runhcs/NOTICE

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)