mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
Small typo in the postgres.rb resource with a call to (#1962)
version_from_dir. Signed-off-by: Aaron Lippold <lippold@gmail.com>
This commit is contained in:
parent
56549aed82
commit
d6d9a58489
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ module Inspec::Resources
|
||||||
a version number and unversioned data directories were found.'
|
a version number and unversioned data directories were found.'
|
||||||
nil
|
nil
|
||||||
else
|
else
|
||||||
@version = version_from_dir('/var/lib/pgsql/')
|
@version = version_from_dir('/var/lib/pgsql')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@data_dir = locate_data_dir_location_by_version(@version)
|
@data_dir = locate_data_dir_location_by_version(@version)
|
||||||
|
|
Loading…
Reference in a new issue