]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
node-proxy: fix mypy warning regarding Config.logging
authorGuillaume Abrioux <gabrioux@ibm.com>
Fri, 16 Jun 2023 11:07:34 +0000 (13:07 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 14:52:19 +0000 (14:52 +0000)
commitcd627cb07aae3fae629c6f120ff6197834b3fda0
tree1592c1b3a3a0d2a1577f2c8ea6f6bc2ce0b39a9f
parentd266ca9bdd688eb91244cd81f01db831a24502de
node-proxy: fix mypy warning regarding Config.logging

Config's attributes are dynamically created so mypy complains.
using `__dict__['logging']` addresses that.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 5b6e762383efa7d1e846ac6c3ec1f912f6d60248)
src/cephadm/node-proxy/server.py