Remove unused code in kv_get.go (#7583)

This commit is contained in:
Anton Soroko 2019-10-07 16:18:04 +02:00 committed by ncabatoff
parent 83cd00f3c8
commit 7aa1ffa92e

View File

@ -101,10 +101,6 @@ func (c *KVGetCommand) Run(args []string) int {
if v2 {
path = addPrefixToVKVPath(path, mountPath, "data")
if err != nil {
c.UI.Error(err.Error())
return 2
}
if c.flagVersion > 0 {
versionParam = map[string]string{