Skip to content

Watch response of ERROR causes ApiException #164

@ghost

Description

When performing a watch on a list if the server returns ERROR (kind: status) there is a deserialization error because the status object differs from the Watch.Response. This is particularly prevalent using custom resources. The Watch response handler blindly uses watchType when deserializing which causes the json deserializer to throw an exception when the response object does not match the watch type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions