Gets rid of the following IPDB warning
WARNING pyroute2.ipdb.main [-] shutdown in progress Change-Id: Ic5d9e3433fd7f25370bc622e77201b99808f11a6 Signed-off-by: Nayan Deshmukh <n.deshmukh@samsung.com>
This commit is contained in:
parent
135b4ea393
commit
04c25b4a02
@ -127,8 +127,8 @@ class CNIHealthServer(object):
|
||||
data = 'ok'
|
||||
no_limit = -1
|
||||
try:
|
||||
with IPDB() as a:
|
||||
a.release()
|
||||
with IPDB():
|
||||
pass
|
||||
except Exception:
|
||||
error_message = 'IPDB not in working order.'
|
||||
LOG.error(error_message)
|
||||
|
Loading…
Reference in New Issue
Block a user