Commit c319ca89 authored by irwinsun's avatar irwinsun
Browse files

feat: assembly增加新增的微服务 #2294

修正当表中无数据时可能导致的异常
parent 9e8b6d8e
Showing with 1 addition and 1 deletion
+1 -1
......@@ -129,7 +129,7 @@ class PipelineDockerHostZoneDao {
}
}
fun getOneHostZoneByZone(dslContext: DSLContext, zone: Zone): TDispatchPipelineDockerHostZoneRecord {
fun getOneHostZoneByZone(dslContext: DSLContext, zone: Zone): TDispatchPipelineDockerHostZoneRecord? {
with(TDispatchPipelineDockerHostZone.T_DISPATCH_PIPELINE_DOCKER_HOST_ZONE) {
return dslContext.selectFrom(this)
.where(ZONE.eq(zone.name))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment