]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/telemetry: split entity_name only once (handle ids with dots) 33168/head
authorDan Mick <dan.mick@redhat.com>
Tue, 17 Dec 2019 22:57:54 +0000 (14:57 -0800)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Mon, 10 Feb 2020 06:08:11 +0000 (13:08 +0700)
commite9ff205a294cb1ba128e09335d0450f640f026b9
tree8d904ace62d32459ef3be18438fad4c22ec1da08
parente28dea68b07adb8402e164bbe1ba959dc1dfef4b
mgr/telemetry: split entity_name only once (handle ids with dots)

If an entity name (id.type) has more than one dot (i.e. 'type' has
dots), split only on the first one

Fixes: https://tracker.ceph.com/issues/43313
Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 626c7dff0386dfc370d54561ae6bfa9866f2ee33)
src/pybind/mgr/telemetry/module.py