Skip to content

Commit

Permalink
Merge pull request #7428 from hashicorp/revert-7416-bump-go-dockerclient
Browse files Browse the repository at this point in the history
Revert "vendor: fsouza/go-docker-client v1.6.3"
  • Loading branch information
Mahmood Ali authored Mar 23, 2020
2 parents 382bbbe + 4822c66 commit 8efa104
Show file tree
Hide file tree
Showing 93 changed files with 769 additions and 3,485 deletions.
6 changes: 2 additions & 4 deletions drivers/docker/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ func (d *Driver) createContainerConfig(task *drivers.TaskConfig, driverConfig *T
StorageOpt: driverConfig.StorageOpt,
VolumeDriver: driverConfig.VolumeDriver,

PidsLimit: &driverConfig.PidsLimit,
PidsLimit: driverConfig.PidsLimit,
}

if _, ok := task.DeviceEnv[nvidiaVisibleDevices]; ok {
Expand Down Expand Up @@ -747,10 +747,8 @@ func (d *Driver) createContainerConfig(task *drivers.TaskConfig, driverConfig *T

// Windows does not support MemorySwap/MemorySwappiness #2193
if runtime.GOOS == "windows" {
var swapiness int64 = 0

hostConfig.MemorySwap = 0
hostConfig.MemorySwappiness = &swapiness
hostConfig.MemorySwappiness = -1
} else {
hostConfig.MemorySwap = task.Resources.LinuxResources.MemoryLimitBytes // MemorySwap is memory + swap.
}
Expand Down
2 changes: 1 addition & 1 deletion jobspec/test-fixtures/basic.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ job "binstore-storagelocker" {
driver = "docker"

lifecycle {
hook = "prestart"
hook = "prestart"
sidecar = true
}

Expand Down
18 changes: 14 additions & 4 deletions vendor/github.com/containerd/continuity/LICENSE

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

176 changes: 0 additions & 176 deletions vendor/github.com/containerd/continuity/fs/copy.go

This file was deleted.

147 changes: 0 additions & 147 deletions vendor/github.com/containerd/continuity/fs/copy_linux.go

This file was deleted.

Loading

0 comments on commit 8efa104

Please sign in to comment.