Skip to content

Commit

Permalink
more lint fixes
Browse files Browse the repository at this point in the history
Signed-off-by: S.Cavallo <[email protected]>
  • Loading branch information
smcavallo committed Dec 9, 2018
1 parent fe5b633 commit 61b0d68
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion spec/docker_test/container_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@
'Interval' => 0,
'Timeout' => 0,
'Retries' => 0,
'StartPeriod' => 0
'StartPeriod' => 0,
}
)
end
Expand Down
18 changes: 9 additions & 9 deletions test/cookbooks/docker_test/recipes/container.rb
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@
ulimits [
{ 'Name' => 'nofile', 'Soft' => 40_960, 'Hard' => 40_960 },
{ 'Name' => 'core', 'Soft' => 100_000_000, 'Hard' => 100_000_000 },
{ 'Name' => 'memlock', 'Soft' => 100_000_000, 'Hard' => 100_000_000 },
{ 'Name' => 'memlock', 'Soft' => 100_000_000, 'Hard' => 100_000_000 }
]
action :run
end
Expand Down Expand Up @@ -867,7 +867,7 @@
tty true
volumes ['/root', '/hostbits:/bits', '/more-hostbits:/more-bits']
working_dir '/'
cap_add %w(NET_ADMIN SYS_RESOURCE)
cap_add %w[NET_ADMIN SYS_RESOURCE]
cap_drop 'MKNOD'
cpu_shares 512
cpuset_cpus '0,1'
Expand All @@ -883,7 +883,7 @@
ulimits [
'nofile=40960:40960',
'core=100000000:100000000',
'memlock=100000000:100000000',
'memlock=100000000:100000000'
]
labels ['foo:bar', 'hello:world']
action :run
Expand Down Expand Up @@ -1224,14 +1224,14 @@
repo 'alpine'
tag '3.1'
health_check ({
"Test" =>
'Test' =>
[
"string"
'string',
],
"Interval" => 0,
"Timeout" => 0,
"Retries" => 0,
"StartPeriod" => 0
'Interval' => 0,
'Timeout' => 0,
'Retries' => 0,
'StartPeriod' => 0,
})
action :run
end

0 comments on commit 61b0d68

Please sign in to comment.