Run make fmt. (#29053)

This commit is contained in:
Victor Rodriguez
2024-11-28 16:27:17 +01:00
committed by GitHub
parent dc343f3566
commit ba969bb14f
9 changed files with 8 additions and 16 deletions

View File

@@ -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.

View File

@@ -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{

View File

@@ -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

View File

@@ -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{

View File

@@ -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.

View File

@@ -7,7 +7,6 @@ import (
"context"
"github.com/Masterminds/semver"
"github.com/hashicorp/releases-api/pkg/models"
)

View File

@@ -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.