mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 20:36:26 +02:00
Remove unused code in kv_get.go (#7583)
This commit is contained in:
parent
83cd00f3c8
commit
7aa1ffa92e
@ -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{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user