Delete sync update sync
(key string, prefix bool)
| 71 | |
| 72 | //Delete sync update sync |
| 73 | func (s *Sync) Delete(key string, prefix bool) error { |
| 74 | if prefix { |
| 75 | log.Warning("Prefix option is translated as Recursive for Etcd v2 compatibility.") |
| 76 | } |
| 77 | s.etcdClient.Delete(key, prefix) |
| 78 | return nil |
| 79 | } |
| 80 | |
| 81 | //Fetch data from sync |
| 82 | func (s *Sync) Fetch(key string) (*sync.Node, error) { |