mirror of
https://github.com/inspec/inspec
synced 2024-11-26 22:50:36 +00:00
shorten mysql and postgres session resources
Signed-off-by: Dominik Richter <dominik@vulcanosec.com>
This commit is contained in:
parent
378a98797e
commit
f51e89d3b1
2 changed files with 2 additions and 2 deletions
|
@ -45,6 +45,6 @@ class MysqlSession < Vulcano::Resource
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def start_mysql_session( user=nil, password=nil )
|
def mysql_session( user=nil, password=nil )
|
||||||
MysqlSession.new(user, password)
|
MysqlSession.new(user, password)
|
||||||
end
|
end
|
||||||
|
|
|
@ -58,7 +58,7 @@ class PostgresSession
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def start_postgres_session( user, password )
|
def postgres_session( user, password )
|
||||||
PostgresSession.new(user, password)
|
PostgresSession.new(user, password)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue