]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/influx: try to call close() 28427/head
authorKefu Chai <kchai@redhat.com>
Thu, 6 Jun 2019 09:02:01 +0000 (17:02 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 6 Jun 2019 13:13:38 +0000 (21:13 +0800)
commit8066a55b324643a40f37243262aa138d959dee91
tree0743fc87d5a191636c0ad65ba9091ce275868387
parent848c40a0aaeed14f8ac32851be822841a7aa654d
mgr/influx: try to call close()

let's at least try to call influxclient.close() which in turn closes the
requests.Session

see
https://github.com/influxdata/influxdb-python/blob/v4.1.1/influxdb/client.py
and
https://github.com/influxdata/influxdb-python/blob/v5.0.0/influxdb/client.py

Fixes: http://tracker.ceph.com/issues/40174
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/influx/module.py