Skip to content

fix: handle both statusCode and code for 404 errors#5

Open
ldsimonassi2 wants to merge 1 commit intomainfrom
fix/statuscode-vs-code
Open

fix: handle both statusCode and code for 404 errors#5
ldsimonassi2 wants to merge 1 commit intomainfrom
fix/statuscode-vs-code

Conversation

@ldsimonassi2
Copy link
Copy Markdown

@kubernetes/client-node v1.4.0 changed error format from statusCode to code. This fix supports both formats for backwards compatibility.

@kubernetes/client-node v1.4.0 changed error format from statusCode to code.
This fix supports both formats for backwards compatibility.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

1 participant