mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
bugfix: harmonize postgres session handling
This commit is contained in:
parent
e76b83a24e
commit
d5973d1189
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class PostgresSession < Inspec.resource(1)
|
|||
@pass = pass
|
||||
end
|
||||
|
||||
def describe(query, db = [], &block)
|
||||
def query(query, db = [], &block)
|
||||
dbs = db.map { |x| "-d #{x}" }.join(' ')
|
||||
# TODO: simple escape, must be handled by a library
|
||||
# that does this securely
|
||||
|
|
Loading…
Reference in a new issue