mirror of
https://github.com/hashicorp/vault.git
synced 2025-09-02 12:31:08 +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{
|
Paths: []*framework.Path{
|
||||||
&framework.Path{
|
&framework.Path{
|
||||||
Pattern: ".*",
|
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{
|
Callbacks: map[logical.Operation]framework.OperationFunc{
|
||||||
logical.ReadOperation: b.handleRead,
|
logical.ReadOperation: b.handleRead,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user