Commit 0b47916a authored by Marc Gravell's avatar Marc Gravell

Merge pull request #383 from aaronmell/SentinelFixes

Sentinel GET-MASTER-ADDR-BY-NAME throws exception when service name i…
parents 9cb8ac2b 6b5381f3
...@@ -1235,8 +1235,13 @@ protected override bool SetResultCore(PhysicalConnection connection, Message mes ...@@ -1235,8 +1235,13 @@ protected override bool SetResultCore(PhysicalConnection connection, Message mes
{ {
SetResult(message, null); SetResult(message, null);
return true; return true;
} }
break; 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; 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