diff options
author | rkhudov <rhudov@gmail.com> | 2024-06-14 15:40:59 +0200 |
---|---|---|
committer | rkhudov <rhudov@gmail.com> | 2024-06-14 15:41:18 +0200 |
commit | 3447dfc29e3b25c3b048477446f59250349ff9e1 (patch) | |
tree | 30b9fb79a9638e898ed6cc960e99de50b9a892ec /src/cephadm | |
parent | Merge pull request #57969 from yuvalif/wip-yuval-64305 (diff) | |
download | ceph-3447dfc29e3b25c3b048477446f59250349ff9e1.tar.xz ceph-3447dfc29e3b25c3b048477446f59250349ff9e1.zip |
src/cephadm/box: remove unused imports
Signed-off-by: rkhudov <rhudov@gmail.com>
Diffstat (limited to 'src/cephadm')
-rwxr-xr-x | src/cephadm/box/box.py | 6 | ||||
-rw-r--r-- | src/cephadm/box/host.py | 1 | ||||
-rw-r--r-- | src/cephadm/box/osd.py | 1 | ||||
-rw-r--r-- | src/cephadm/box/util.py | 3 |
4 files changed, 2 insertions, 9 deletions
diff --git a/src/cephadm/box/box.py b/src/cephadm/box/box.py index db2f2423351..fd9de7fe3e3 100755 --- a/src/cephadm/box/box.py +++ b/src/cephadm/box/box.py @@ -6,9 +6,8 @@ import json import sys import host import osd -from multiprocessing import Process, Pool +from multiprocessing import Pool from util import ( - BoxType, Config, Target, ensure_inside_container, @@ -19,12 +18,9 @@ from util import ( run_dc_shell_commands, get_container_engine, run_shell_command, - run_shell_commands, - ContainerEngine, DockerEngine, PodmanEngine, colored, - engine, engine_compose, Colors, get_seed_name diff --git a/src/cephadm/box/host.py b/src/cephadm/box/host.py index aae16d07f45..6b49def2318 100644 --- a/src/cephadm/box/host.py +++ b/src/cephadm/box/host.py @@ -12,7 +12,6 @@ from util import ( run_dc_shell_command, run_shell_command, engine, - BoxType ) diff --git a/src/cephadm/box/osd.py b/src/cephadm/box/osd.py index 827a4de36c0..3e559b2fe8c 100644 --- a/src/cephadm/box/osd.py +++ b/src/cephadm/box/osd.py @@ -5,7 +5,6 @@ import re from typing import Dict from util import ( - BoxType, Config, Target, ensure_inside_container, diff --git a/src/cephadm/box/util.py b/src/cephadm/box/util.py index 7dcf883f8a3..4aa5645b26b 100644 --- a/src/cephadm/box/util.py +++ b/src/cephadm/box/util.py @@ -417,5 +417,4 @@ class PodmanEngine(ContainerEngine): def get_container_engine() -> ContainerEngine: if engine() == 'docker': return DockerEngine() - else: - return PodmanEngine() + return PodmanEngine() |