Skip to content

Commit

Permalink
#4 fix: Converting from mutable map to immutable map
Browse files Browse the repository at this point in the history
  • Loading branch information
manjudr committed Feb 21, 2023
1 parent 8847bbd commit c331930
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class ExtractionFunction(config: ExtractorConfig, @transient var dedupEngine: De


private def createWrapperEvent(dataset: String, event: mutable.Map[String, AnyRef]): mutable.Map[String, AnyRef] = {
mutable.Map(config.CONST_DATASET -> dataset, config.CONST_EVENT -> event)
mutable.Map(config.CONST_DATASET -> dataset, config.CONST_EVENT -> event.toMap)
}
}

0 comments on commit c331930

Please sign in to comment.