Commit 6b5381f3 authored by amell's avatar amell

Sentinel GET-MASTER-ADDR-BY-NAME throws exception when service name is not...

Sentinel GET-MASTER-ADDR-BY-NAME throws exception when service name is not being watched by sentinel.
parent c3bf2bd5
......@@ -1237,6 +1237,11 @@ protected override bool SetResultCore(PhysicalConnection connection, Message mes
return true;
}
break;
case ResultType.SimpleString:
//We don't want to blow up if the master is not found
if (result.IsNull)
return true;
break;
}
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment