summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/module.py
diff options
context:
space:
mode:
authorAlfonso Martínez <almartin@redhat.com>2020-12-15 09:28:46 +0100
committerAlfonso Martínez <almartin@redhat.com>2020-12-17 08:36:57 +0100
commit5d7ee7c1f0ad971fd0079f917e2b44cdef1d6f9f (patch)
tree224cd1002988554af7c3590c2f62a899857b92af /src/pybind/mgr/dashboard/module.py
parentMerge pull request #38617 from batrick/cmake-labeler (diff)
downloadceph-5d7ee7c1f0ad971fd0079f917e2b44cdef1d6f9f.tar.xz
ceph-5d7ee7c1f0ad971fd0079f917e2b44cdef1d6f9f.zip
mgr/dashboard: CLI commands: read passwords from file
Fixes: https://tracker.ceph.com/issues/48355 Signed-off-by: Alfonso Martínez <almartin@redhat.com> Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Diffstat (limited to 'src/pybind/mgr/dashboard/module.py')
-rw-r--r--src/pybind/mgr/dashboard/module.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pybind/mgr/dashboard/module.py b/src/pybind/mgr/dashboard/module.py
index e3f69664764..11c54bf0be0 100644
--- a/src/pybind/mgr/dashboard/module.py
+++ b/src/pybind/mgr/dashboard/module.py
@@ -384,7 +384,7 @@ class Module(MgrModule, CherryPyConfig):
def handle_command(self, inbuf, cmd):
# pylint: disable=too-many-return-statements
- res = handle_option_command(cmd)
+ res = handle_option_command(cmd, inbuf)
if res[0] != -errno.ENOSYS:
return res
res = handle_sso_command(cmd)