Skip to content

Commit 8d9095c

Browse files
feat(sql): addressed review comments
1 parent 942d48c commit 8d9095c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

orca-sql/src/main/kotlin/com/netflix/spinnaker/orca/sql/pipeline/persistence/SqlExecutionRepository.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ class SqlExecutionRepository(
671671
}
672672

673673
override fun retrieveOrchestrationForCorrelationId(correlationId: String): PipelineExecution {
674-
withPool(readPoolName) {
674+
withPool(poolName) {
675675
val execution = jooq.selectExecution(ORCHESTRATION, compressionProperties)
676676
.where(
677677
field("id").eq(
@@ -705,7 +705,7 @@ class SqlExecutionRepository(
705705
}
706706

707707
override fun retrievePipelineForCorrelationId(correlationId: String): PipelineExecution {
708-
withPool(readPoolName) {
708+
withPool(poolName) {
709709
val execution = jooq.selectExecution(PIPELINE, compressionProperties)
710710
.where(
711711
field("id").eq(

0 commit comments

Comments
 (0)