Remove dead code

This commit is contained in:
Wojciech Tyczynski
2015-08-12 14:57:35 +02:00
parent 7837cf1ae3
commit 1426418af2
2 changed files with 0 additions and 13 deletions

View File

@@ -175,15 +175,6 @@ func (h *etcdHelper) Delete(key string, out runtime.Object) error {
return err
}
// Implements storage.Interface.
func (h *etcdHelper) RecursiveDelete(key string, recursive bool) error {
key = h.prefixEtcdKey(key)
startTime := time.Now()
_, err := h.client.Delete(key, recursive)
metrics.RecordEtcdRequestLatency("delete", "UNKNOWN", startTime)
return err
}
// Implements storage.Interface.
func (h *etcdHelper) Watch(key string, resourceVersion uint64, filter storage.FilterFunc) (watch.Interface, error) {
key = h.prefixEtcdKey(key)