Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Bk Ci
Commits
c319ca89
Commit
c319ca89
authored
4 years ago
by
irwinsun
Browse files
Options
Download
Email Patches
Plain Diff
feat: assembly增加新增的微服务 #2294
修正当表中无数据时可能导致的异常
parent
9e8b6d8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/backend/ci/core/dispatch/biz-dispatch-docker/src/main/kotlin/com/tencent/devops/dispatch/dao/PipelineDockerHostZoneDao.kt
+1
-1
.../tencent/devops/dispatch/dao/PipelineDockerHostZoneDao.kt
with
1 addition
and
1 deletion
+1
-1
src/backend/ci/core/dispatch/biz-dispatch-docker/src/main/kotlin/com/tencent/devops/dispatch/dao/PipelineDockerHostZoneDao.kt
+
1
-
1
View file @
c319ca89
...
...
@@ -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
))
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment