Skip to content

Fake clientset methods doesn't work properly #33

Description

@ShreyanshMehta

Methods like List() and UpdateStatus() from fake clientset doesn't work properly. As Create() method from fake clientset does not add kcp.io/cluster annotation to the object (which is expected) which is later being used by List() and UpdateStatus() to filter the objects.

Ideally, these method shouldn't depend on the annotation to filter the objects.
For example, List() uses the filterByCluster() to filter the object which internally uses the given annotation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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