summaryrefslogtreecommitdiffstats
path: root/src/pybind
diff options
context:
space:
mode:
Diffstat (limited to 'src/pybind')
-rw-r--r--src/pybind/mgr/dashboard/module.py4
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,