]> git.apps.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)
committerKefu Chai <kchai@redhat.com>
Tue, 26 Jan 2021 10:02:24 +0000 (18:02 +0800)
commit34e96c55397da7029254864ebf7a3d88563e22c9
tree838593a41fc18a135bd38a40be5e6564405eb10f
parent3ca955c4d5f55c9c15797199b991dd0e81095386
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>
src/pybind/mgr/dashboard/module.py