]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: minor pep8 fixes
authorSebastian Wagner <sebastian.wagner@suse.com>
Fri, 22 Jan 2021 09:19:03 +0000 (10:19 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 29 Jan 2021 12:42:38 +0000 (13:42 +0100)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 4ca11ae50d734c1d059d88b8b14a3318f11f4eea)

src/pybind/mgr/cephadm/module.py
src/pybind/mgr/orchestrator/_interface.py

index f389c57483a71c1529355d30eee342ddd6d5fafe..2e88dafe6751101bed6d3cab2c024c8fbc4b50b0 100644 (file)
@@ -942,7 +942,7 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule,
         Text that is appended to all daemon's ceph.conf.
         Mainly a workaround, till `config generate-minimal-conf` generates
         a complete ceph.conf.
-             
+
         Warning: this is a dangerous operation.
         """
         if inbuf:
index f56e0684e9390a86e475ea81c988ec0badc0e8c4..cc726d52d7da22449faf792011593991b10ab123 100644 (file)
@@ -117,6 +117,7 @@ def handle_exception(prefix: str, perm: str, func: FuncT) -> FuncT:
 class InnerCliCommandCallable(Protocol):
     def __call__(self, prefix: str) -> Callable[[FuncT], FuncT]: ...
 
+
 def _cli_command(perm: str) -> InnerCliCommandCallable:
     def inner_cli_command(prefix: str) -> Callable[[FuncT], FuncT]:
         return lambda func: handle_exception(prefix, perm, func)
@@ -667,6 +668,7 @@ def _hide_in_features(f: FuncT) -> FuncT:
     f._hide_in_features = True  # type: ignore
     return f
 
+
 class Orchestrator(object):
     """
     Calls in this class may do long running remote operations, with time