diff options
author | Sage Weil <sage@redhat.com> | 2017-06-05 21:43:18 +0200 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2017-06-08 20:30:10 +0200 |
commit | 390ad9031f584d514e62fa6f670cd893422b8dca (patch) | |
tree | 5c5e5f0d5dccec8007b87f10b143b8d7f5e5e40b | |
parent | qa/workunits/rest/test_mgr_rest_api.py: improvements (diff) | |
download | ceph-390ad9031f584d514e62fa6f670cd893422b8dca.tar.xz ceph-390ad9031f584d514e62fa6f670cd893422b8dca.zip |
pybind/mgr/dashboard: get_localized_config for server_{addr,port}
Signed-off-by: Sage Weil <sage@redhat.com>
-rw-r--r-- | src/pybind/mgr/dashboard/module.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pybind/mgr/dashboard/module.py b/src/pybind/mgr/dashboard/module.py index 79077ca84c3..6e5c2347c8d 100644 --- a/src/pybind/mgr/dashboard/module.py +++ b/src/pybind/mgr/dashboard/module.py @@ -695,8 +695,8 @@ class Module(MgrModule): return dict(result) - server_addr = self.get_config('server_addr') or '127.0.0.1' - server_port = self.get_config('server_port') or '7000' + server_addr = self.get_localized_config('server_addr') or '127.0.0.1' + server_port = self.get_localized_config('server_port') or '7000' log.info("server_addr: %s server_port: %s" % (server_addr, server_port)) cherrypy.config.update({ 'server.socket_host': server_addr, |