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
......@@ -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