mirror of
https://github.com/inspec/inspec
synced 2024-11-10 23:24:18 +00:00
Removed unwanted self
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
This commit is contained in:
parent
c801a03b88
commit
6395137a5d
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ module Inspec::Resources
|
|||
end
|
||||
|
||||
def query(query, db = [])
|
||||
raise Inspec::Exceptions::ResourceFailed, "#{resource_exception_message}" if self.resource_failed?
|
||||
raise Inspec::Exceptions::ResourceFailed, "#{resource_exception_message}" if resource_failed?
|
||||
|
||||
psql_cmd = create_psql_cmd(query, db)
|
||||
cmd = inspec.command(psql_cmd, redact_regex: /(PGPASSWORD=').+(' psql .*)/)
|
||||
|
|
Loading…
Reference in a new issue