From: Ricardo Marques Date: Fri, 8 Mar 2019 14:45:09 +0000 (+0000) Subject: mgr/dashboard: Always get iSCSI passwords decrypted X-Git-Tag: v14.2.0~35^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a5c6cc8bb2e37e6eb18054fbe5996e13c164c7c4;p=ceph.git mgr/dashboard: Always get iSCSI passwords decrypted Fixes: https://tracker.ceph.com/issues/38630 Signed-off-by: Ricardo Marques --- diff --git a/src/pybind/mgr/dashboard/services/iscsi_client.py b/src/pybind/mgr/dashboard/services/iscsi_client.py index 1d616a2a57d6..92d3a16e52a0 100644 --- a/src/pybind/mgr/dashboard/services/iscsi_client.py +++ b/src/pybind/mgr/dashboard/services/iscsi_client.py @@ -64,7 +64,9 @@ class IscsiClient(RestClient): @RestClient.api_get('/api/config') def get_config(self, request=None): - return request() + return request({ + 'decrypt_passwords': True + }) @RestClient.api_put('/api/target/{target_iqn}') def create_target(self, target_iqn, target_controls, request=None):