mirror of
https://github.com/hashicorp/vault.git
synced 2025-09-02 20:41:11 +02:00
Remove unneeded Fields in passthrough
This commit is contained in:
parent
7479621705
commit
8c04db85c1
@ -34,12 +34,6 @@ func LeaseSwitchedPassthroughBackend(conf *logical.BackendConfig, leases bool) (
|
||||
Paths: []*framework.Path{
|
||||
&framework.Path{
|
||||
Pattern: ".*",
|
||||
Fields: map[string]*framework.FieldSchema{
|
||||
"ttl": &framework.FieldSchema{
|
||||
Type: framework.TypeString,
|
||||
Description: "TTL time for this key when read. Ex: 1h",
|
||||
},
|
||||
},
|
||||
|
||||
Callbacks: map[logical.Operation]framework.OperationFunc{
|
||||
logical.ReadOperation: b.handleRead,
|
||||
|
Loading…
x
Reference in New Issue
Block a user