mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Add comment and implementation assertion for EmbedEtcdKV (#14905)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/14927/head
parent
ea0e36e29d
commit
69def6b34e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue