We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ed819a1 + f1f88c2 commit 1ec3569Copy full SHA for 1ec3569
controls/container_runtime.rb
@@ -223,6 +223,7 @@
223
container_info = docker.object(id)
224
next if container_info['NetworkSettings']['Ports'].nil?
225
container_info['NetworkSettings']['Ports'].each do |_, hosts|
226
+ next if hosts.nil?
227
hosts.each do |host|
228
describe host['HostPort'].to_i.between?(1, 1024) do
229
it { should eq false }
@@ -354,6 +355,7 @@
354
355
356
357
358
359
360
describe host['HostIp'].to_i.between?(1, 1024) do
361
it { should_not eq '0.0.0.0' }
0 commit comments