mirror of
https://github.com/inspec/inspec
synced 2024-11-22 20:53:11 +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
|
||||
|
||||
def start_mysql_session( user=nil, password=nil )
|
||||
def mysql_session( user=nil, password=nil )
|
||||
MysqlSession.new(user, password)
|
||||
end
|
||||
|
|
|
@ -58,7 +58,7 @@ class PostgresSession
|
|||
|
||||
end
|
||||
|
||||
def start_postgres_session( user, password )
|
||||
def postgres_session( user, password )
|
||||
PostgresSession.new(user, password)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue