Skip to content

Commit 73e3ab9

Browse files
authored
Merge pull request ceph#58053 from rkhudov/src-cephadm-box_remove_unused_imports
src/cephadm/box: remove unused imports Reviewed-by: Adam King <[email protected]>
2 parents e0394b8 + 3447dfc commit 73e3ab9

File tree

4 files changed

+2
-9
lines changed

4 files changed

+2
-9
lines changed

src/cephadm/box/box.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
import sys
77
import host
88
import osd
9-
from multiprocessing import Process, Pool
9+
from multiprocessing import Pool
1010
from util import (
11-
BoxType,
1211
Config,
1312
Target,
1413
ensure_inside_container,
@@ -19,12 +18,9 @@
1918
run_dc_shell_commands,
2019
get_container_engine,
2120
run_shell_command,
22-
run_shell_commands,
23-
ContainerEngine,
2421
DockerEngine,
2522
PodmanEngine,
2623
colored,
27-
engine,
2824
engine_compose,
2925
Colors,
3026
get_seed_name

src/cephadm/box/host.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
run_dc_shell_command,
1313
run_shell_command,
1414
engine,
15-
BoxType
1615
)
1716

1817

src/cephadm/box/osd.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from typing import Dict
66

77
from util import (
8-
BoxType,
98
Config,
109
Target,
1110
ensure_inside_container,

src/cephadm/box/util.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,5 +417,4 @@ def up(self, hosts: int):
417417
def get_container_engine() -> ContainerEngine:
418418
if engine() == 'docker':
419419
return DockerEngine()
420-
else:
421-
return PodmanEngine()
420+
return PodmanEngine()

0 commit comments

Comments
 (0)