Skip to content

Commit

Permalink
Merge branch 'hotfix-1.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
HEskandari committed Aug 21, 2015
2 parents 86744c0 + 0da94fe commit e39805f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public void RefreshData()

ServiceControlRoot.Children.Clear();

var endpointInstancesGroupedByName = endpoints.GroupBy(x => x.Name);
var endpointInstancesGroupedByName = endpoints.OrderBy(x => x.Name).GroupBy(x => x.Name);
foreach (var scaledOutEndpoint in endpointInstancesGroupedByName)
{
var instances = scaledOutEndpoint.ToList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ private void CreateEndpoints(IList<StoredMessage> messages)

foreach (var message in messages)
{
if (endpointInfos.Exists(e => e.FullName == message.ReceivingEndpoint.Name && e.Host == message.ReceivingEndpoint.Host))
if (message.ReceivingEndpoint == null || endpointInfos.Exists(e => e.FullName == message.ReceivingEndpoint.Name && e.Host == message.ReceivingEndpoint.Host))
{
continue;
}
Expand Down

0 comments on commit e39805f

Please sign in to comment.