Skip to content

Commit

Permalink
Renamed variable for parent partitioning
Browse files Browse the repository at this point in the history
Co-authored-by: Ladislav Sulak <[email protected]>
  • Loading branch information
salamonpavel and lsulak authored Oct 17, 2023
1 parent 21ed9bd commit f7545a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/src/main/scala/za/co/absa/atum/agent/AtumAgent.scala
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class AtumAgent private[agent] () {
val newPartitions: AtumPartitions = parentAtumContext.atumPartitions ++ subPartitions

val newPartitionsDTO = AtumPartitions.toSeqPartitionDTO(newPartitions)
val maybeParentPartitionsDTO = Some(AtumPartitions.toSeqPartitionDTO(parentAtumContext.atumPartitions))
val parentPartitionsDTO = Some(AtumPartitions.toSeqPartitionDTO(parentAtumContext.atumPartitions))
val partitioningDTO = PartitioningDTO(newPartitionsDTO, maybeParentPartitionsDTO)

val atumContextDTO = dispatcher.getOrCreateAtumContext(partitioningDTO)
Expand Down

0 comments on commit f7545a3

Please sign in to comment.