]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/dashboard: use _get_localized_key for composing store key
authorKefu Chai <kchai@redhat.com>
Tue, 19 Jan 2021 17:56:02 +0000 (01:56 +0800)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 29 Jan 2021 12:42:38 +0000 (13:42 +0100)
commit87019086d2ed12ab3359348cd95e6af097b7b692
tree7c7cf26c031ff9e2646971a3b058c4270f4b1a0c
parentf56ec1391eb2caaa8acd7156c478cfd81509041a
pybind/mgr/dashboard: use _get_localized_key for composing store key

Just for keeping this 'encapsulated', there's _get_localized_key helper
in mgr_module (there's also a set_localized_store but it only deals with
the active manager)

As suggested by Ernesto Puerta <epuertat@redhat.com>

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 34e96c55397da7029254864ebf7a3d88563e22c9)
src/pybind/mgr/dashboard/module.py