Handle CloseDB() error in statistics query 48/9148/1
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Fri, 30 Sep 2022 10:22:46 +0000 (13:22 +0300)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Fri, 30 Sep 2022 10:22:46 +0000 (13:22 +0300)
commit42f2115c202cdb68191c9715e0036db6f3db24c5
treeada53a31b91b69f4197f7f257029067448a417bb
parentab9bc50b0eca87e61023b3bac11b50cd39fc77dd
Handle CloseDB() error in statistics query

Add handling of Redis connection close function CloseDB() return value
after sentinel statistics were queried.

Issue-Id: RIC-942

Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I632b112a085c95bf0dbe80035308ffcc799bfa10
internal/sdlgoredis/sdlgoredis.go