Skip to content

Commit d34727d

Browse files
algolia-botmillotp
andcommitted
fix(specs): event.status can be null (generated)
algolia/api-clients-automation#4727 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
1 parent 502972d commit d34727d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/scala/algoliasearch/ingestion/Event.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import algoliasearch.ingestion.EventType._
3636
case class Event(
3737
eventID: String,
3838
runID: String,
39-
status: EventStatus,
39+
status: Option[EventStatus] = scala.None,
4040
`type`: EventType,
4141
batchSize: Int,
4242
data: Option[Map[String, Any]] = scala.None,

src/main/scala/algoliasearch/ingestion/SourceDocker.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ package algoliasearch.ingestion
2222
/** SourceDocker
2323
*
2424
* @param image
25-
* Shortname of the image, as returned by the referential.
25+
* Name of the connector.
2626
* @param configuration
2727
* Configuration of the spec.
2828
*/

0 commit comments

Comments
 (0)