mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 06:05:01 +02:00
parent
b3a80e16b2
commit
a8587f5697
@ -67,6 +67,10 @@ void RedisWriter::ConnectionThreadProc(void)
|
||||
if (!password.IsEmpty()) {
|
||||
redisReply *reply = reinterpret_cast<redisReply *>(redisCommand(m_Context, "AUTH %s", password.CStr()));
|
||||
|
||||
//TODO: Verify if we can continue here.
|
||||
if (!reply)
|
||||
continue;
|
||||
|
||||
if (reply->type == REDIS_REPLY_STATUS || reply->type == REDIS_REPLY_ERROR) {
|
||||
Log(LogInformation, "RedisWriter")
|
||||
<< "AUTH: " << reply->str;
|
||||
|
Loading…
x
Reference in New Issue
Block a user