Skip to content

The "watch" not triggered when the watch key not start with "/" #37

@nengc

Description

@nengc

What happened?

When i set the watch key as "/etcd-test", and put value to the key "/etcd-test", the watch worked. But when i remove the "/", the watch will not triggered.

image

What did you expect to happen?

With ETCD server, watching without prefix "/" key will work. But not work when using kubebrain.

How can we reproduce it (as minimally and precisely as possible)?

Using etcd client v3

Software version

Details
$ <software> version
# paste output here

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