Merge "Trivial: Remove unused logging import"
This commit is contained in:
@@ -13,13 +13,10 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
import psycopg2
|
||||
|
||||
from trove.common import exception
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
PG_ADMIN = 'os_admin'
|
||||
|
||||
|
||||
|
||||
@@ -15,8 +15,6 @@
|
||||
|
||||
import os
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
from trove.common import cfg
|
||||
from trove.guestagent.common import operating_system
|
||||
from trove.guestagent.datastore.experimental.postgresql.service.status import (
|
||||
@@ -24,7 +22,6 @@ from trove.guestagent.datastore.experimental.postgresql.service.status import (
|
||||
from trove.guestagent import guest_log
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
|
||||
@@ -13,15 +13,12 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
from trove.common import cfg
|
||||
from trove.common import utils
|
||||
from trove.guestagent.datastore.experimental.postgresql import pgutil
|
||||
from trove.guestagent.datastore.experimental.postgresql.service.users import (
|
||||
PgSqlUsers)
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
|
||||
@@ -17,12 +17,9 @@
|
||||
import abc
|
||||
import six
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
from trove.common import cfg
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
|
||||
@@ -13,12 +13,8 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
from trove.guestagent.strategies.backup import base
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class PgDump(base.BackupRunner):
|
||||
"""Implementation of Backup Strategy for pg_dump."""
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
# under the License.
|
||||
#
|
||||
|
||||
from oslo_log import log as logging
|
||||
from oslo_utils import netutils
|
||||
|
||||
from trove.common import cfg
|
||||
@@ -26,7 +25,6 @@ from trove.guestagent.datastore.experimental.mongodb import (
|
||||
from trove.guestagent.strategies.restore import base
|
||||
|
||||
CONF = cfg.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
IP = netutils.get_my_ipv4()
|
||||
LARGE_TIMEOUT = 1200
|
||||
MONGODB_DBPATH = CONF.mongodb.mount_point
|
||||
|
||||
Reference in New Issue
Block a user