Skip to content

When watch can't parse an object, try to parse it to a Status.#165

Merged
mbohlool merged 1 commit into
kubernetes-client:masterfrom
brendandburns:pff
Jan 12, 2018
Merged

When watch can't parse an object, try to parse it to a Status.#165
mbohlool merged 1 commit into
kubernetes-client:masterfrom
brendandburns:pff

Conversation

@brendandburns

Copy link
Copy Markdown
Contributor

Fixes #164

@bhabermas
@jberhard
@mbohlool

@mbohlool

mbohlool commented Jan 12, 2018

Copy link
Copy Markdown
Contributor

Catching exception works for now but it would be nice if we had a way to deserialize metadata first to see what is the actual object and then deserialize it in the right object. That would be much cleaner than trying to deserialize it and count on exception. This, however, can be done in another PR.

@mbohlool

Copy link
Copy Markdown
Contributor

/lgtm

@mbohlool mbohlool merged commit f32b284 into kubernetes-client:master Jan 12, 2018
@brendandburns

brendandburns commented Jan 12, 2018 via email

Copy link
Copy Markdown
Contributor Author

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.

3 participants