runtime bugfixes

Signed-off-by: Dominik Richter <dominik@vulcanosec.com>
This commit is contained in:
Dominik Richter 2015-08-02 23:39:43 -07:00
parent 61f5f95147
commit 5e8af49561
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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