Remove leftover of MongoDB support
We already removed support for MongoDB a while ago[1]. This removes
the leftover in Oslo::DBConn type so that we use the single consistent
pattern.
[1] 2ad73a71c0
Change-Id: I341286bbf834e9ec90de3d79b95cb64c1ca8b847
This commit is contained in:
parent
471514fa53
commit
8e04fa6153
|
@ -8,7 +8,6 @@ describe 'Oslo::Dbconn' do
|
|||
'postgresql://db:db@localhost/db',
|
||||
'postgresql+psycopg2://db:db@localhost/db',
|
||||
'sqlite:///var/lib/db.db',
|
||||
'mongodb://db:db@localhost/db',
|
||||
].each do |value|
|
||||
describe value.inspect do
|
||||
it { is_expected.to allow_value(value) }
|
||||
|
|
|
@ -1 +1 @@
|
|||
type Oslo::Dbconn = Pattern[/^(sqlite|mysql(\+pymysql)?|postgresql(\+psycopg2)?|mongodb):\/\/(\S+:\S+@\S+\/\S+)?/]
|
||||
type Oslo::Dbconn = Pattern[/^(sqlite|mysql(\+pymysql)?|postgresql(\+psycopg2)?):\/\/(\S+:\S+@\S+\/\S+)?/]
|
||||
|
|
Loading…
Reference in New Issue