Skip to content

Commit

Permalink
Implementing
Browse files Browse the repository at this point in the history
Signed-off-by: AWSHurneyt <[email protected]>
  • Loading branch information
AWSHurneyt committed Jan 28, 2024
1 parent adadf75 commit a47fa02
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,8 @@ data class Alert(
aggregationResultBucket?.innerXContent(builder)

if (!clusters.isNullOrEmpty()) builder.field(CLUSTERS_FIELD, clusters.toTypedArray())
// TODO hurneyt: Calling .toTypedArray() is required for a List<String> field to be successfully added to the alert document.
// Add a unit test that confirms each List<String>, and other lists, call .toTypedArray()

builder.endObject()
return builder
Expand Down

0 comments on commit a47fa02

Please sign in to comment.