remove info by type
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
andrey1s
2021-04-27 20:19:20 +03:00
parent 421fcd66e0
commit b46d6dcde0

View File

@@ -3,7 +3,6 @@ package etcd
import (
"context"
"fmt"
"log"
"gitoa.ru/go-4devs/config"
"gitoa.ru/go-4devs/config/key"
@@ -83,7 +82,6 @@ func (p *Provider) getEventKvs(events []*client.Event) ([]*pb.KeyValue, []*pb.Ke
for i := range events {
kvs = append(kvs, events[i].Kv)
old = append(old, events[i].PrevKv)
log.Println(events[i].Type)
}
return kvs, old