From 40486da4463efb0d51d480ffe87d687a3196c0dc Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Wed, 28 Oct 2015 13:05:56 -0400 Subject: [PATCH] Fix cache disabling --- command/server.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/command/server.go b/command/server.go index 4c8ba808f4..901bb9719e 100644 --- a/command/server.go +++ b/command/server.go @@ -8,11 +8,11 @@ import ( "net/http" "net/url" "os" + "runtime" "sort" "strconv" "strings" "time" - "runtime" "github.com/armon/go-metrics" "github.com/hashicorp/logutils" @@ -132,6 +132,7 @@ func (c *ServerCommand) Run(args []string) int { CredentialBackends: c.CredentialBackends, LogicalBackends: c.LogicalBackends, Logger: logger, + DisableCache: config.DisableCache, DisableMlock: config.DisableMlock, MaxLeaseTTL: config.MaxLeaseTTL, DefaultLeaseTTL: config.DefaultLeaseTTL,