Skip to content

Commit

Permalink
Fixed mapping.metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
fazpiazu committed Dec 19, 2024
1 parent 01fe6f8 commit 167b292
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class AtlanService(token: String, baseUrlDataLake: String, baseUrlConfluent: Str

def generateMetadaBody(mapping: Config): String = {
val last_synced = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"))
val mode = mapping.environment.mode
val mode = mapping.metadata.environment.mode
val sql = mapping.mappings.head match {
case sqlmapping: SQLMapping => {
sqlmapping.sqlContents
Expand Down

0 comments on commit 167b292

Please sign in to comment.