Skip to content

Commit e47912a

Browse files
committed
Fix #1474: GeoBounds aggregation not read to completion
Backport of ab4b4b8
1 parent a0aea89 commit e47912a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/Nest/CommonAbstractions/SerializationBehavior/Resolvers/Converters/Aggregations/AggregationConverter.cs

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ private IAggregation GetGeoBoundsMetricAggregation(JsonReader reader, JsonSerial
105105
if (bottomRight != null)
106106
geoBoundsMetric.Bounds.BottomRight = bottomRight;
107107
}
108+
reader.Read();
108109
return geoBoundsMetric;
109110
}
110111

0 commit comments

Comments
 (0)