etcd-io/etcd

Code using `mvccpb.KeyValue` fail to compile

Closed this issue · 2 comments

kaoet commented

After 80d1594, code using mvccpb.KeyValue explicitly fail to compile since it is moved into internal directory.

mvccpb.KeyValue is export as field type of github.com/coreos/etcd/etcdserver/etcdserverpb.RangeResponse.Kvs. Since RangeResponse is a public API. mvccpb.KeyValue should be public, too.

gyuho commented

Plan was revert that change #9274, until we find better way to handle internal packages. /cc @xiang90

gyuho commented

@kaoet Sorry for late response. We've reverted the changes for now. Please try the master branch.