Skip to content

Commit

Permalink
update rest of consul packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmood Ali committed Feb 16, 2020
1 parent 1d9ffa6 commit a3b0b25
Show file tree
Hide file tree
Showing 61 changed files with 3,310 additions and 480 deletions.
2 changes: 1 addition & 1 deletion client/allocrunner/groupservice_hook_test.go
Expand Up @@ -6,7 +6,7 @@ import (
"time"

consulapi "github.com/hashicorp/consul/api"
ctestutil "github.com/hashicorp/consul/testutil"
ctestutil "github.com/hashicorp/consul/sdk/testutil"
"github.com/hashicorp/nomad/client/allocrunner/interfaces"
"github.com/hashicorp/nomad/client/consul"
"github.com/hashicorp/nomad/client/taskenv"
Expand Down
2 changes: 1 addition & 1 deletion client/allocrunner/taskrunner/envoybootstrap_hook_test.go
Expand Up @@ -13,7 +13,7 @@ import (
"testing"

consulapi "github.com/hashicorp/consul/api"
consultest "github.com/hashicorp/consul/testutil"
consultest "github.com/hashicorp/consul/sdk/testutil"
"github.com/hashicorp/nomad/client/allocdir"
"github.com/hashicorp/nomad/client/allocrunner/interfaces"
"github.com/hashicorp/nomad/client/taskenv"
Expand Down
2 changes: 1 addition & 1 deletion client/allocrunner/taskrunner/template/template_test.go
Expand Up @@ -12,7 +12,7 @@ import (
"testing"
"time"

ctestutil "github.com/hashicorp/consul/testutil"
ctestutil "github.com/hashicorp/consul/sdk/testutil"
"github.com/hashicorp/nomad/client/config"
"github.com/hashicorp/nomad/client/taskenv"
"github.com/hashicorp/nomad/helper"
Expand Down
2 changes: 1 addition & 1 deletion command/agent/consul/group_test.go
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/hashicorp/consul/api"
consulapi "github.com/hashicorp/consul/api"
"github.com/hashicorp/consul/testutil"
"github.com/hashicorp/consul/sdk/testutil"
"github.com/hashicorp/nomad/helper/testlog"
"github.com/hashicorp/nomad/nomad/mock"
"github.com/hashicorp/nomad/nomad/structs"
Expand Down
2 changes: 1 addition & 1 deletion command/agent/consul/int_test.go
Expand Up @@ -9,7 +9,7 @@ import (
"time"

consulapi "github.com/hashicorp/consul/api"
"github.com/hashicorp/consul/testutil"
"github.com/hashicorp/consul/sdk/testutil"
log "github.com/hashicorp/go-hclog"
"github.com/hashicorp/nomad/client/allocdir"
"github.com/hashicorp/nomad/client/allocrunner/taskrunner"
Expand Down
2 changes: 1 addition & 1 deletion command/agent/operator_endpoint_test.go
Expand Up @@ -9,7 +9,7 @@ import (
"testing"
"time"

"github.com/hashicorp/consul/testutil/retry"
"github.com/hashicorp/consul/sdk/testutil/retry"
"github.com/hashicorp/nomad/api"
"github.com/hashicorp/nomad/nomad/structs"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion helper/freeport/freeport_test.go
Expand Up @@ -7,7 +7,7 @@ import (
"sync"
"testing"

"github.com/hashicorp/consul/testutil/retry"
"github.com/hashicorp/consul/sdk/testutil/retry"
)

// reset will reverse the setup from initialize() and then redo it (for tests)
Expand Down
2 changes: 1 addition & 1 deletion internal/testing/apitests/operator_autopilot_test.go
Expand Up @@ -5,7 +5,7 @@ import (

"fmt"

"github.com/hashicorp/consul/testutil/retry"
"github.com/hashicorp/consul/sdk/testutil/retry"
"github.com/hashicorp/nomad/api"
"github.com/hashicorp/nomad/testutil"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion internal/testing/apitests/operator_test.go
Expand Up @@ -3,7 +3,7 @@ package apitests
import (
"testing"

"github.com/hashicorp/consul/testutil/retry"
"github.com/hashicorp/consul/sdk/testutil/retry"
"github.com/hashicorp/nomad/api"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion nomad/autopilot_test.go
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"

"github.com/hashicorp/consul/agent/consul/autopilot"
"github.com/hashicorp/consul/testutil/retry"
"github.com/hashicorp/consul/sdk/testutil/retry"
"github.com/hashicorp/nomad/testutil"
"github.com/hashicorp/raft"
"github.com/hashicorp/serf/serf"
Expand Down
2 changes: 1 addition & 1 deletion nomad/leader_test.go
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"github.com/hashicorp/consul/testutil/retry"
"github.com/hashicorp/consul/sdk/testutil/retry"
"github.com/hashicorp/go-hclog"
memdb "github.com/hashicorp/go-memdb"
"github.com/hashicorp/go-version"
Expand Down
46 changes: 37 additions & 9 deletions vendor/github.com/hashicorp/consul/api/acl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a3b0b25

Please sign in to comment.