Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Do not hide diff error details (kubectl < 1.18.0) #1078

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

zerok
Copy link
Contributor

@zerok zerok commented Jun 26, 2024

Resolves #532

From what I can see this is the only place that actually does a typecheck for exec.ExitError. Because of that, wrapping the error should not be an issue.

Copy link
Contributor

github-actions bot commented Jun 26, 2024

PR Preview Action v1.4.7
Preview removed because the pull request was closed.
2024-06-26 10:28 UTC

@zerok zerok requested a review from a team June 26, 2024 09:28
Copy link
Member

@iainlane iainlane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

pkg/kubernetes/client/diff.go Show resolved Hide resolved
@zerok zerok merged commit 43958b7 into main Jun 26, 2024
7 checks passed
@zerok zerok deleted the zerok/do-not-hide-diff-err-details-0118 branch June 26, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

diff sub-command fails with mysterious error when kubectl version is < 1.18.0
2 participants