Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions KustoSchemaTools/KustoSchemaHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public async Task<StructuredDiffResult> GenerateStructuredDiff(string path, stri
structuredDiffs.Add(ConvertToStructuredDiff(clusterDiff.Cluster.Name, clusterDiff.Cluster.Url, databaseName, clusterDiff.Changes));
}

foreach (var followerDiff in diffData.FollowerDiffs)
foreach (var followerDiff in diffData.FollowerDiffs.Where(f => f.Changes.Count > 0))
{
structuredDiffs.Add(ConvertToStructuredDiff(followerDiff.ConnectionKey, followerDiff.ConnectionKey, followerDiff.DatabaseName, followerDiff.Changes));
}
Expand Down Expand Up @@ -192,7 +192,7 @@ private async Task<DiffComputationResult> BuildDiffComputationResult(string path
}
}

foreach (var followerDiff in diffData.FollowerDiffs)
foreach (var followerDiff in diffData.FollowerDiffs.Where(f => f.Changes.Count > 0))
{
if (logDetails)
{
Expand Down
Loading