From 4a6dfa9b6949bdcdba22a7003c451390105d287e Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Tue, 3 Oct 2017 16:17:08 -0400 Subject: [PATCH] ceph-volume devices.lvm refactor importing api to come from api/lvm.py Signed-off-by: Alfredo Deza (cherry picked from commit f4bee6cb42a017abce269ed3926deff04038a47e) --- src/ceph-volume/ceph_volume/devices/lvm/activate.py | 2 +- src/ceph-volume/ceph_volume/devices/lvm/listing.py | 2 +- src/ceph-volume/ceph_volume/devices/lvm/prepare.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ceph-volume/ceph_volume/devices/lvm/activate.py b/src/ceph-volume/ceph_volume/devices/lvm/activate.py index 5a755672a95dc..b292b89af865f 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/activate.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/activate.py @@ -4,7 +4,7 @@ from textwrap import dedent from ceph_volume import process, conf, decorators from ceph_volume.util import system, disk from ceph_volume.systemd import systemctl -from . import api +from ceph_volume.api import lvm as api def activate_filestore(lvs): diff --git a/src/ceph-volume/ceph_volume/devices/lvm/listing.py b/src/ceph-volume/ceph_volume/devices/lvm/listing.py index 4f2805e715eb5..a063770cacaee 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/listing.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/listing.py @@ -5,7 +5,7 @@ import logging from textwrap import dedent from ceph_volume import decorators from ceph_volume.util import disk -from . import api +from ceph_volume.api import lvm as api logger = logging.getLogger(__name__) diff --git a/src/ceph-volume/ceph_volume/devices/lvm/prepare.py b/src/ceph-volume/ceph_volume/devices/lvm/prepare.py index 1ca5b0d88540f..81bb6efd59a01 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/prepare.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/prepare.py @@ -5,7 +5,7 @@ from textwrap import dedent from ceph_volume.util import prepare as prepare_utils from ceph_volume.util import system, disk from ceph_volume import conf, decorators, terminal -from . import api +from ceph_volume.api import lvm as api from .common import prepare_parser -- 2.39.5