From f39c604cd7eabc2f7f43f98f275825134247c11d Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Fri, 5 May 2017 12:36:35 +0200 Subject: [PATCH] Fix imports --- command/event_test.go | 5 +++-- command/info_test.go | 5 +++-- command/leave_test.go | 5 +++-- consul/health_endpoint.go | 1 + 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/command/event_test.go b/command/event_test.go index 6238e91676..65882d64da 100644 --- a/command/event_test.go +++ b/command/event_test.go @@ -1,10 +1,11 @@ package command import ( - "github.com/hashicorp/consul/command/base" - "github.com/mitchellh/cli" "strings" "testing" + + "github.com/hashicorp/consul/command/base" + "github.com/mitchellh/cli" ) func TestEventCommand_implements(t *testing.T) { diff --git a/command/info_test.go b/command/info_test.go index ffa14c2a0b..fb17925260 100644 --- a/command/info_test.go +++ b/command/info_test.go @@ -1,10 +1,11 @@ package command import ( - "github.com/hashicorp/consul/command/base" - "github.com/mitchellh/cli" "strings" "testing" + + "github.com/hashicorp/consul/command/base" + "github.com/mitchellh/cli" ) func TestInfoCommand_implements(t *testing.T) { diff --git a/command/leave_test.go b/command/leave_test.go index 2be71e8d8c..fc1a7000c9 100644 --- a/command/leave_test.go +++ b/command/leave_test.go @@ -1,10 +1,11 @@ package command import ( - "github.com/hashicorp/consul/command/base" - "github.com/mitchellh/cli" "strings" "testing" + + "github.com/hashicorp/consul/command/base" + "github.com/mitchellh/cli" ) func testLeaveCommand(t *testing.T) (*cli.MockUi, *LeaveCommand) { diff --git a/consul/health_endpoint.go b/consul/health_endpoint.go index 2562e07f34..56a1be9c81 100644 --- a/consul/health_endpoint.go +++ b/consul/health_endpoint.go @@ -2,6 +2,7 @@ package consul import ( "fmt" + "github.com/armon/go-metrics" "github.com/hashicorp/consul/consul/state" "github.com/hashicorp/consul/consul/structs"