Skip to content

Commit

Permalink
reset some files that got reformatted
Browse files Browse the repository at this point in the history
  • Loading branch information
kpcraig committed Nov 22, 2024
1 parent 8934a6c commit 5168533
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 6 deletions.
3 changes: 2 additions & 1 deletion tools/pipeline/internal/cmd/generate_enos_dynamic_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ 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.
Expand Down
3 changes: 2 additions & 1 deletion tools/pipeline/internal/cmd/releases_list_versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ import (
"encoding/json"
"fmt"

"github.com/hashicorp/vault/tools/pipeline/internal/pkg/releases"
"github.com/spf13/cobra"

"github.com/hashicorp/vault/tools/pipeline/internal/pkg/releases"
)

var listReleaseVersionsReq = &releases.ListVersionsReq{
Expand Down
3 changes: 2 additions & 1 deletion tools/pipeline/internal/pkg/generate/enos_dynamic_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ import (
"slices"
"testing"

"github.com/hashicorp/vault/tools/pipeline/internal/pkg/releases"
"github.com/stretchr/testify/require"

"github.com/hashicorp/vault/tools/pipeline/internal/pkg/releases"
)

var testAPIVersions = []string{
Expand Down
3 changes: 2 additions & 1 deletion tools/pipeline/internal/pkg/releases/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ 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.
Expand Down
1 change: 1 addition & 0 deletions tools/pipeline/internal/pkg/releases/client_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"context"

"github.com/Masterminds/semver"

"github.com/hashicorp/releases-api/pkg/models"
)

Expand Down
3 changes: 2 additions & 1 deletion tools/pipeline/internal/pkg/releases/list_versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ import (
"slices"

"github.com/Masterminds/semver"
"github.com/hashicorp/vault/tools/pipeline/internal/pkg/metadata"
slogctx "github.com/veqryn/slog-context"

"github.com/hashicorp/vault/tools/pipeline/internal/pkg/metadata"
)

// ListVersionsReq is a request to list versions from the releases API.
Expand Down

0 comments on commit 5168533

Please sign in to comment.