Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Cragun <[email protected]>
  • Loading branch information
ryancragun committed Jan 10, 2025
1 parent f9ae8c4 commit 024422a
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 17 deletions.
1 change: 0 additions & 1 deletion command/operator_migrate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"time"

"github.com/go-test/deep"

log "github.com/hashicorp/go-hclog"
"github.com/hashicorp/go-secure-stdlib/base62"
"github.com/hashicorp/vault/command/server"
Expand Down
11 changes: 5 additions & 6 deletions command/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ import (

systemd "github.com/coreos/go-systemd/daemon"
"github.com/google/go-cmp/cmp"
"github.com/posener/complete"
"github.com/sasha-s/go-deadlock"
"go.uber.org/atomic"
"golang.org/x/net/http/httpproxy"
"google.golang.org/grpc/grpclog"

"github.com/hashicorp/cli"
"github.com/hashicorp/errwrap"
"github.com/hashicorp/go-hclog"
Expand Down Expand Up @@ -68,6 +62,11 @@ import (
"github.com/hashicorp/vault/vault/plugincatalog"
vaultseal "github.com/hashicorp/vault/vault/seal"
"github.com/hashicorp/vault/version"
"github.com/posener/complete"
"github.com/sasha-s/go-deadlock"
"go.uber.org/atomic"
"golang.org/x/net/http/httpproxy"
"google.golang.org/grpc/grpclog"
)

var (
Expand Down
3 changes: 1 addition & 2 deletions command/server/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ import (
"strings"
"time"

"github.com/mitchellh/mapstructure"

"github.com/hashicorp/go-multierror"
"github.com/hashicorp/go-secure-stdlib/parseutil"
"github.com/hashicorp/hcl"
Expand All @@ -28,6 +26,7 @@ import (
"github.com/hashicorp/vault/sdk/helper/consts"
"github.com/hashicorp/vault/sdk/helper/strutil"
"github.com/hashicorp/vault/sdk/helper/testcluster"
"github.com/mitchellh/mapstructure"
)

const (
Expand Down
3 changes: 1 addition & 2 deletions command/server/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ import (
"strings"
"testing"

"github.com/stretchr/testify/require"

"github.com/hashicorp/vault/internalshared/configutil"
"github.com/stretchr/testify/require"
)

func TestLoadConfigFile(t *testing.T) {
Expand Down
3 changes: 1 addition & 2 deletions command/server/config_test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ import (
"time"

"github.com/go-test/deep"
"github.com/stretchr/testify/require"

"github.com/hashicorp/hcl"
"github.com/hashicorp/hcl/hcl/ast"
"github.com/hashicorp/hcl/hcl/token"
"github.com/hashicorp/vault/internalshared/configutil"
"github.com/stretchr/testify/require"
)

var DefaultCustomHeaders = map[string]map[string]string{
Expand Down
3 changes: 1 addition & 2 deletions internalshared/configutil/kms_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ import (
"reflect"
"testing"

"github.com/stretchr/testify/require"

"github.com/hashicorp/go-kms-wrapping/wrappers/ocikms/v2"
"github.com/stretchr/testify/require"
)

func Test_getEnvConfig(t *testing.T) {
Expand Down
3 changes: 1 addition & 2 deletions internalshared/configutil/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ import (
"github.com/armon/go-metrics/prometheus"
stackdriver "github.com/google/go-metrics-stackdriver"
stackdrivervault "github.com/google/go-metrics-stackdriver/vault"
"google.golang.org/api/option"

"github.com/hashicorp/cli"
"github.com/hashicorp/go-multierror"
"github.com/hashicorp/go-secure-stdlib/parseutil"
"github.com/hashicorp/hcl"
"github.com/hashicorp/hcl/hcl/ast"
"github.com/hashicorp/vault/helper/metricsutil"
"github.com/hashicorp/vault/sdk/helper/metricregistry"
"google.golang.org/api/option"
)

const (
Expand Down

0 comments on commit 024422a

Please sign in to comment.