Skip to content

Commit d15e6be

Browse files
authored
Update kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KubernetesApplicationOperation.scala
1 parent 1535e00 commit d15e6be

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KubernetesApplicationOperation.scala

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -485,11 +485,9 @@ class KubernetesApplicationOperation extends ApplicationOperation with Logging {
485485
id = getPodAppId(pod),
486486
name = getPodAppName(pod),
487487
state = appState,
488-
url = appInfo.url.orElse(getPodAppUrl(
489-
sparkAppUrlSource,
490-
sparkAppUrlPattern,
491-
kubernetesInfo,
492-
pod)),
488+
url = appInfo.url.orElse {
489+
getPodAppUrl(sparkAppUrlSource, sparkAppUrlPattern, kubernetesInfo, pod)
490+
},
493491
error = appError,
494492
podName = Some(pod.getMetadata.getName)))
495493
}.getOrElse {

0 commit comments

Comments
 (0)