[skip e2e] Add comment and implementation assertion for EmbedEtcdKV (#14905)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/14927/head
congqixia 2022-01-06 13:32:27 +08:00 committed by GitHub
parent ea0e36e29d
commit 69def6b34e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -29,9 +29,14 @@ import (
"go.etcd.io/etcd/server/v3/etcdserver/api/v3client"
"go.uber.org/zap"
"github.com/milvus-io/milvus/internal/kv"
"github.com/milvus-io/milvus/internal/log"
)
// implementation assertion
var _ kv.MetaKv = (*EmbedEtcdKV)(nil)
// EmbedEtcdKV use embedded Etcd instance as a KV storage
type EmbedEtcdKV struct {
client *clientv3.Client
rootPath string