I am trying to get the past 3 revisions for the key "Chops"
/opt/etcd/etcdctl get "Chops" --order=DESCEND --sort-by=MODIFY --limit=3
However, I am just getting a single KV back. That would be preferred if there's a way to do this in the Go library. But for now, I am trying to understand how to do this. It doesn't look like it's a current feature and there's not much on the web around this topic. If anyone has figured this out, I'd be grateful!
I managed to solve this issue by creating a loop and iterating between the CreateRevision and ModRevision. Doing a get request for each iteration and appending them all to a list within the loop. Not pretty but works very well.