Rename Dump to Sync

This commit is contained in:
Asim Aslam
2019-10-03 09:56:25 +01:00
parent a9c85eda68
commit b5f33b2aaa
4 changed files with 5 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ func (e *ekv) Write(record *store.Record) error {
return err
}
func (e *ekv) Dump() ([]*store.Record, error) {
func (e *ekv) Sync() ([]*store.Record, error) {
keyval, err := e.kv.Get(context.Background(), "/", client.WithPrefix())
if err != nil {
return nil, err