• Clayton Coleman's avatar
    WatchList should not convey events for the root key · ce364319
    Clayton Coleman authored
    It's possible to watch /foo/bar, get events for /foo/bar/baz,
    and then if someone deletes /foo/bar you'll get an event for /foo/bar
    without a value.  This results in an error being printed in the logs
    because /foo/bar has value "" and we can't decode that.
    
    This commit excludes the parent directory from watch events for now.
    ce364319
Name
Last commit
Last update
..
doc.go Loading commit data...
etcd_tools.go Loading commit data...
etcd_tools_test.go Loading commit data...
etcd_tools_watch.go Loading commit data...
etcd_tools_watch_test.go Loading commit data...
fake_etcd_client.go Loading commit data...