Fix lint errors

Change to relative include, which is now mandatory.

Change-Id: I860995937ac218166383a4d2fb49546d611e39f2
Closes-Bug: #1889702
This commit is contained in:
ZhongShengping 2020-07-31 09:59:50 +08:00 committed by Takashi Kajinami
parent 57748b6f44
commit 7f8072b361
1 changed files with 3 additions and 3 deletions

View File

@ -150,8 +150,8 @@ define oslo::db(
if $manage_backend_package {
case $connection {
/^mysql(\+pymysql)?:\/\//: {
require '::mysql::bindings'
require '::mysql::bindings::python'
require 'mysql::bindings'
require 'mysql::bindings::python'
if $connection =~ /^mysql\+pymysql/ {
$backend_package = $::oslo::params::pymysql_package_name
} else {
@ -160,7 +160,7 @@ define oslo::db(
}
/^postgresql(\+psycopg2)?:\/\//: {
$backend_package = false
require '::postgresql::lib::python'
require 'postgresql::lib::python'
}
/^mongodb:\/\//: {
$backend_package = $::oslo::params::pymongo_package_name