Skip to content

Fake Client .Update updates both spec and status? #2230

@ZakMiller

Description

@ZakMiller

The fake client's Update call updates both the spec and status of the object.

This is different from how the real client behaves. This can lead to situations where someone writes a unit test, the unit test passes, but the behavior will be different when dealing with a real client.

Is this known/intended? It seems like the fake client should update the spec and replace the status with whatever the value is on the "server".

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