Skip to content

Commit

Permalink
remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
fupelaqu committed May 31, 2024
1 parent 80a1458 commit d788f62
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/scala/ai/starlake/job/transform/AutoTask.scala
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,6 @@ object AutoTask extends StrictLogging {
)
case _ =>
val sinkConfig = taskDesc.getSinkConfig()
val sinkConnectionRef: String =
sinkConfig.connectionRef.getOrElse(settings.appConfig.connectionRef)
val sinkConnection: Settings.Connection =
settings.appConfig.connections(sinkConnectionRef)
sinkConfig match {
case fs: FsSink if fs.isExport() =>
logger.info("Exporting to the filesystem")
Expand Down

0 comments on commit d788f62

Please sign in to comment.