From f7545a3a1b992555d971fcf133aa73e6149fa626 Mon Sep 17 00:00:00 2001 From: salamonpavel Date: Tue, 17 Oct 2023 12:16:52 +0200 Subject: [PATCH] Renamed variable for parent partitioning Co-authored-by: Ladislav Sulak --- agent/src/main/scala/za/co/absa/atum/agent/AtumAgent.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/src/main/scala/za/co/absa/atum/agent/AtumAgent.scala b/agent/src/main/scala/za/co/absa/atum/agent/AtumAgent.scala index 4c29517e8..8644acde9 100644 --- a/agent/src/main/scala/za/co/absa/atum/agent/AtumAgent.scala +++ b/agent/src/main/scala/za/co/absa/atum/agent/AtumAgent.scala @@ -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)