mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
Run make fmt. (#29053)
This commit is contained in:
@@ -6,10 +6,9 @@ package cmd
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/hashicorp/vault/tools/pipeline/internal/pkg/generate"
|
||||
"github.com/hashicorp/vault/tools/pipeline/internal/pkg/releases"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
// skipVersionsDefault are versions that we skip by default. This list can grow as necessary.
|
||||
|
||||
@@ -8,9 +8,8 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
|
||||
"github.com/hashicorp/vault/tools/pipeline/internal/pkg/releases"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
var listReleaseVersionsReq = &releases.ListVersionsReq{
|
||||
|
||||
@@ -13,12 +13,11 @@ import (
|
||||
"slices"
|
||||
|
||||
"github.com/Masterminds/semver"
|
||||
slogctx "github.com/veqryn/slog-context"
|
||||
|
||||
"github.com/hashicorp/hcl/v2/gohcl"
|
||||
"github.com/hashicorp/hcl/v2/hclwrite"
|
||||
"github.com/hashicorp/vault/tools/pipeline/internal/pkg/metadata"
|
||||
"github.com/hashicorp/vault/tools/pipeline/internal/pkg/releases"
|
||||
slogctx "github.com/veqryn/slog-context"
|
||||
)
|
||||
|
||||
// EnosDynamicConfigReq is a request to generate dynamic enos configuration
|
||||
|
||||
@@ -10,9 +10,8 @@ import (
|
||||
"slices"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/hashicorp/vault/tools/pipeline/internal/pkg/releases"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
var testAPIVersions = []string{
|
||||
|
||||
@@ -11,11 +11,10 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/Masterminds/semver"
|
||||
slogctx "github.com/veqryn/slog-context"
|
||||
|
||||
"github.com/hashicorp/releases-api/pkg/api"
|
||||
"github.com/hashicorp/releases-api/pkg/client"
|
||||
"github.com/hashicorp/releases-api/pkg/models"
|
||||
slogctx "github.com/veqryn/slog-context"
|
||||
)
|
||||
|
||||
// Client is an api.releases.hashicorp.com API client.
|
||||
|
||||
@@ -7,7 +7,6 @@ import (
|
||||
"context"
|
||||
|
||||
"github.com/Masterminds/semver"
|
||||
|
||||
"github.com/hashicorp/releases-api/pkg/models"
|
||||
)
|
||||
|
||||
|
||||
@@ -11,9 +11,8 @@ import (
|
||||
"slices"
|
||||
|
||||
"github.com/Masterminds/semver"
|
||||
slogctx "github.com/veqryn/slog-context"
|
||||
|
||||
"github.com/hashicorp/vault/tools/pipeline/internal/pkg/metadata"
|
||||
slogctx "github.com/veqryn/slog-context"
|
||||
)
|
||||
|
||||
// ListVersionsReq is a request to list versions from the releases API.
|
||||
|
||||
Reference in New Issue
Block a user