mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
Resolving rubucop issues
Signed-off-by: Nolan Davidson <ndavidson@chef.io>
This commit is contained in:
parent
fbe7b8ddf8
commit
55beed4bc8
1 changed files with 2 additions and 2 deletions
|
@ -18,9 +18,9 @@ module Inspec::Resources
|
||||||
def initialize(opts = {})
|
def initialize(opts = {})
|
||||||
@user = opts[:user]
|
@user = opts[:user]
|
||||||
@pass = opts[:pass]
|
@pass = opts[:pass]
|
||||||
@host = opts[:host] || "localhost"
|
@host = opts[:host] || 'localhost'
|
||||||
@sid = opts[:sid]
|
@sid = opts[:sid]
|
||||||
@sqlplus_bin = opts[:sqlplus_bin] || "sqlplus"
|
@sqlplus_bin = opts[:sqlplus_bin] || 'sqlplus'
|
||||||
return skip_resource("Can't run Oracle checks without authentication") if @user.nil? or @pass.nil?
|
return skip_resource("Can't run Oracle checks without authentication") if @user.nil? or @pass.nil?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue