From 8c04db85c17c89da522c63d6a63eb3dc0a9bded1 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Thu, 9 Jun 2016 10:33:24 -0400 Subject: [PATCH] Remove unneeded Fields in passthrough --- vault/logical_passthrough.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vault/logical_passthrough.go b/vault/logical_passthrough.go index f2b79f6a10..b1fe8107dd 100644 --- a/vault/logical_passthrough.go +++ b/vault/logical_passthrough.go @@ -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,