mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
Doc typo fix (#3551)
Signed-off-by: Dave Grizzanti <david_grizzanti@comcast.com>
This commit is contained in:
parent
640dadfd7a
commit
d8c90df4df
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ The following examples show how to use this InSpec audit resource.
|
||||||
its('Client.Version') { should cmp >= '1.12'}
|
its('Client.Version') { should cmp >= '1.12'}
|
||||||
end
|
end
|
||||||
|
|
||||||
### Iterate over all containers to verify host coniguration
|
### Iterate over all containers to verify host configuration
|
||||||
|
|
||||||
docker.containers.ids.each do |id|
|
docker.containers.ids.each do |id|
|
||||||
# call Docker inspect for a specific container id
|
# call Docker inspect for a specific container id
|
||||||
|
|
|
@ -22,7 +22,7 @@ class DockerRunner
|
||||||
|
|
||||||
@conf = YAML.load_file(@conf_path)
|
@conf = YAML.load_file(@conf_path)
|
||||||
if @conf.nil? or @conf.empty?
|
if @conf.nil? or @conf.empty?
|
||||||
fail "Can't read coniguration in #{@conf_path}"
|
fail "Can't read configuration in #{@conf_path}"
|
||||||
end
|
end
|
||||||
if @conf['images'].nil?
|
if @conf['images'].nil?
|
||||||
fail "You must configure test images in your #{@conf_path}"
|
fail "You must configure test images in your #{@conf_path}"
|
||||||
|
|
Loading…
Reference in a new issue