mirror of
https://github.com/inspec/inspec
synced 2024-11-22 20:53:11 +00:00
runtime bugfixes
Signed-off-by: Dominik Richter <dominik@vulcanosec.com>
This commit is contained in:
parent
61f5f95147
commit
5e8af49561
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ end
|
|||
|
||||
module Serverspec::Type
|
||||
def inetd_conf(path = nil)
|
||||
@inted_conf ||= {}
|
||||
@inetd_conf ||= {}
|
||||
dpath = path || '/etc/inetd.conf'
|
||||
@inetd_conf[dpath] = InetdConf.new(dpath)
|
||||
end
|
||||
|
|
|
@ -54,7 +54,7 @@ module Vulcano
|
|||
specs = SpecFile.from_file(f, metadata)
|
||||
# find all errors during parsing
|
||||
specs.errors.each do |err|
|
||||
invalid.(err)
|
||||
invalid.(:error, err)
|
||||
end
|
||||
# detect missing metadata
|
||||
meta = specs.metadata
|
||||
|
|
Loading…
Reference in a new issue