Skip to content

Commit

Permalink
[KYUUBI #5711][FOLLOWUP] Fix typo for container states audit
Browse files Browse the repository at this point in the history
# 🔍 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 🔖

- [ ] 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 ⚰️

#### Behavior With This Pull Request 🎉

#### 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

be5181a [fwang12] fix typo

Authored-by: fwang12 <[email protected]>
Signed-off-by: fwang12 <[email protected]>
(cherry picked from commit 3ca4b8a)
Signed-off-by: fwang12 <[email protected]>
  • Loading branch information
turboFei committed Nov 24, 2023
1 parent 68336ec commit 10b13f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) =
Expand Down

0 comments on commit 10b13f5

Please sign in to comment.