Fix cache disabling

This commit is contained in:
Jeff Mitchell 2015-10-28 13:05:56 -04:00
parent 57290b6d92
commit 7b25204a19

View file

@ -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,