Error: proto: wrong wireType = 5 for field TypeMeta
ksexton opened this issue · 1 comments
ksexton commented
Kubernetes cluster: v1.11.6
Auger built from master with go get
Get Error: proto: wrong wireType = 5 for field TypeMeta
instead of decoded output from etcdctl command.
Session output:
$ go get -u github.com/jpbetz/auger
$ which auger
/Users/kes/go/bin/auger
$ kubectl exec etcd-kubernetes --namespace=kube-system -i -t -- sh -c 'ETCDCTL_API=3 etcdctl --cacert=/etc/kubernetes/pki/etcd/ca.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt get /registry/pods/kube-system/kube-proxy-5vg8r --print-value-only' | auger decode
Error: proto: wrong wireType = 5 for field TypeMeta
Usage:
auger decode [flags]
Examples:
ETCDCTL_API=3 etcdctl get /registry/pods/default/<pod-name> \
--print-value-only | auger decode
Flags:
--batch-process If set, deccode batch of objects from os.Stdin
--file string Filename to read storage encoded data from
-h, --help help for decode
--meta-only Output only content type and metadata fields
-o, --output string Output format. One of: json|yaml|proto (default "yaml")
proto: wrong wireType = 5 for field TypeMeta
$
morningspace commented
Same error here. I'm using KIND (Kubernetes v1.21.2)