Skip to content

Commit

Permalink
Merge branch 'dev' into fix_3777
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfboys committed Jun 19, 2024
2 parents c46bb4c + d60734f commit 584a66d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ class FlinkK8sApplicationBuildPipeline(request: FlinkK8sApplicationBuildRequest)
val dockerConf = request.dockerConfig
val baseImageTag = request.flinkBaseImage.trim
val pushImageTag = {
if (request.k8sNamespace.isEmpty || request.clusterId.isEmpty) {
throw new IllegalArgumentException("k8sNamespace or clusterId cannot be empty")
}
val expectedImageTag = s"streampark-flinkjob-${request.k8sNamespace}-${request.clusterId}"
compileTag(expectedImageTag, dockerConf.registerAddress, dockerConf.imageNamespace)
}
Expand Down

0 comments on commit 584a66d

Please sign in to comment.