From 66dc946852f69de985c692e7ac1d0f7bf4bfc0e4 Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Wed, 1 Jun 2016 03:09:53 -0700 Subject: [PATCH] Don't clobber the default consul config in tests --- client/client_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/client_test.go b/client/client_test.go index 24721b49b..5ffae2b3e 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -16,7 +16,6 @@ import ( "github.com/hashicorp/nomad/nomad" "github.com/hashicorp/nomad/nomad/mock" "github.com/hashicorp/nomad/nomad/structs" - sconfig "github.com/hashicorp/nomad/nomad/structs/config" "github.com/hashicorp/nomad/testutil" "github.com/mitchellh/hashstructure" @@ -72,7 +71,6 @@ func testServer(t *testing.T, cb func(*nomad.Config)) (*nomad.Server, string) { func testClient(t *testing.T, cb func(c *config.Config)) *Client { conf := config.DefaultConfig() conf.DevMode = true - conf.ConsulConfig = &sconfig.ConsulConfig{} if cb != nil { cb(conf) }