]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/telemetry: dict.pop() errs on nonexistent key 30854/head
authorDan Mick <dan.mick@redhat.com>
Thu, 10 Oct 2019 22:18:51 +0000 (15:18 -0700)
committerDan Mick <dan.mick@redhat.com>
Thu, 10 Oct 2019 22:18:51 +0000 (15:18 -0700)
commit19028f0d9da8c010700b7f0bfced3de0423a1682
tree50362ff8318a29a35bef30a9b5fc9cc165012aef
parent8cd683aa60b084163ab74de656207f2ac5328567
mgr/telemetry: dict.pop() errs on nonexistent key

I suggested this in a review, but failed to correctly understand
what happens when the key doesn't exist.  Test for it.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
src/pybind/mgr/telemetry/module.py