mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
Merge PR #27516 into master
* refs/pull/27516/head: mgr/rook: Fix Python 2 regression Reviewed-by: Sage Weil <sage@redhat.com> Reviewed-by: Gabriel Brascher <gabriel@apache.org>
This commit is contained in:
commit
fd36f2a836
@ -97,3 +97,4 @@ mikechristie Mike Christie <mchristi@redhat.com>
|
||||
andrewschoen Andrew Schoen <aschoen@redhat.com>
|
||||
mattbenjamin Matt Benjamin <mbenjami@redhat.com>
|
||||
baruza Barbora Ančincová <bara@redhat.com>
|
||||
GabrielBrascher Gabriel Brascher <gabriel@apache.org>
|
||||
|
@ -9,7 +9,6 @@ This module is runnable outside of ceph-mgr, useful for testing.
|
||||
import logging
|
||||
import json
|
||||
from contextlib import contextmanager
|
||||
from typing import List
|
||||
|
||||
from six.moves.urllib.parse import urljoin # pylint: disable=import-error
|
||||
|
||||
@ -23,6 +22,7 @@ except ImportError:
|
||||
try:
|
||||
import orchestrator
|
||||
from rook.module import RookEnv
|
||||
from typing import List
|
||||
except ImportError:
|
||||
pass # just used for type checking.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user