This is an automated email from the ASF dual-hosted git repository.
feiwang pushed a commit to branch branch-1.8
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/branch-1.8 by this push:
new 10b13f54b [KYUUBI #5711][FOLLOWUP] Fix typo for container states audit
10b13f54b is described below
commit 10b13f54b624f6a75bc672f39f5e9a26fb8e19ee
Author: fwang12 <[email protected]>
AuthorDate: Fri Nov 24 15:49:25 2023 +0800
[KYUUBI #5711][FOLLOWUP] Fix typo for container states audit
# :mag: Description
Fix typo for container states audit.
## Issue References ๐
This pull request fixes #
## Describe Your Solution ๐ง
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that are
required for this change.
## Types of changes :bookmark:
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
## Test Plan ๐งช
#### Behavior Without This Pull Request :coffin:
#### Behavior With This Pull Request :tada:
#### Related Unit Tests
---
# Checklists
## ๐ Author Self Checklist
- [ ] My code follows the [style
guidelines](https://kyuubi.readthedocs.io/en/master/contributing/code/style.html)
of this project
- [ ] I have performed a self-review
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature
works
- [ ] New and existing unit tests pass locally with my changes
- [ ] This patch was not authored or co-authored using [Generative
Tooling](https://www.apache.org/legal/generative-tooling.html)
## ๐ Committer Pre-Merge Checklist
- [ ] Pull request title is okay.
- [ ] No license issues.
- [ ] Milestone correctly set?
- [ ] Test coverage is ok
- [ ] Assignees are selected.
- [ ] Minimum number of approvals
- [ ] No changes are requested
**Be nice. Be informative.**
Closes #5770 from turboFei/fix_typo_copilot.
Closes #5711
be5181a76 [fwang12] fix typo
Authored-by: fwang12 <[email protected]>
Signed-off-by: fwang12 <[email protected]>
(cherry picked from commit 3ca4b8aecc7449fd4a894143ece1a47d2d293b1d)
Signed-off-by: fwang12 <[email protected]>
---
.../org/apache/kyuubi/engine/KubernetesApplicationAuditLogger.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KubernetesApplicationAuditLogger.scala
b/kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KubernetesApplicationAuditLogger.scala
index 14c27bfb6..565c8a694 100644
---
a/kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KubernetesApplicationAuditLogger.scala
+++
b/kyuubi-server/src/main/scala/org/apache/kyuubi/engine/KubernetesApplicationAuditLogger.scala
@@ -44,7 +44,7 @@ object KubernetesApplicationAuditLogger extends Logging {
sb.append(s"podState=${pod.getStatus.getPhase}").append("\t")
val containerStatuses = pod.getStatus.getContainerStatuses.asScala.map {
containerState =>
s"${containerState.getName}->${containerState.getState}"
- }.mkString("[", ",", "]").foreach(sb.append(_).append("\t"))
+ }.mkString("[", ",", "]")
sb.append(s"containers=$containerStatuses").append("\t")
sb.append(s"appId=${pod.getMetadata.getLabels.get(SPARK_APP_ID_LABEL)}").append("\t")
val (appState, appError) =