From 9edd9ce82af00e220a1556619bcbbcbcb4ad5d77 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Tue, 4 Feb 2014 18:32:17 -0800 Subject: [PATCH] agent: Fixing test with new struct --- command/agent/agent_endpoint_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/agent_endpoint_test.go b/command/agent/agent_endpoint_test.go index f511bdd3e..14a07ea2c 100644 --- a/command/agent/agent_endpoint_test.go +++ b/command/agent/agent_endpoint_test.go @@ -396,7 +396,7 @@ func TestHTTPAgentRegisterService(t *testing.T) { Name: "test", Tag: "master", Port: 8000, - Check: &CheckType{ + Check: CheckType{ TTL: 15 * time.Second, }, }