WriteNginxFileSystemDelta
ProcessDataStandardFormatToJson
This commit is contained in:
@ -220,7 +220,7 @@ internal static partial class Helper20250219
|
||||
continue;
|
||||
if (indexOnly.Contains(jsonPropertyOld.Name) && int.TryParse(jsonPropertyOld.Name[^2..], out int index) && i != index - 1)
|
||||
continue;
|
||||
logger.LogWarning("For [{jsonProperty.Name}] <{directory}> doesn't match ({valueNew} != {valueOld})!", jsonPropertyOld.Name, directory, valueNew, valueOld);
|
||||
logger.LogWarning("For [{jsonProperty.Name}] <{directory}> doesn't match (valueNew:{valueNew} != valueOld:{valueOld})!", jsonPropertyOld.Name, directory, valueNew, valueOld);
|
||||
differentColumns.Add(jsonPropertyOld.Name);
|
||||
}
|
||||
}
|
||||
@ -260,7 +260,10 @@ internal static partial class Helper20250219
|
||||
processDataStandardFormat = GetLogisticsColumnsAndBody(match, lines: null);
|
||||
jsonElementsOld = GetArray(processDataStandardFormat);
|
||||
if (jsonElementsOld is null || jsonElementsOld.Length != jsonElementsNew.Length)
|
||||
{
|
||||
logger.LogWarning("! <{match}> (jsonElementsOld.Length:{jsonElementsOld} != jsonElementsNew.Length:{jsonElementsNew})", match, jsonElementsOld?.Length, jsonElementsNew.Length);
|
||||
continue;
|
||||
}
|
||||
isMatch = Compare(logger, ignore, backfill, indexOnly, keyValuePairs, directorySegment, jsonElementsNew, jsonElementsOld);
|
||||
if (!isMatch)
|
||||
{
|
||||
|
Reference in New Issue
Block a user