Skip to content

Commit

Permalink
#84 Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
salamonpavel committed Oct 12, 2023
1 parent 8d517a0 commit 6d8f769
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 @@ -52,7 +52,7 @@ class AtumAgent private() {

def getOrCreateAtumSubContext(subPartitions: AtumPartitions)(implicit parentAtumContext: AtumContext): AtumContext = {
val newPartitions: AtumPartitions = parentAtumContext.atumPartitions ++ subPartitions
getContextOrElse(newPartitions, parentAtumContext.copy(atumPartitions = newPartitions, parentAgent = this))
getContextOrElse(newPartitions, parentAtumContext.copy(atumPartitions = newPartitions, agent = this))
}

private def getContextOrElse(atumPartitions: AtumPartitions, creationMethod: =>AtumContext): AtumContext = {
Expand Down

0 comments on commit 6d8f769

Please sign in to comment.