Skip to content

Commit

Permalink
bump (go-pivnet): import v7 everywhere
Browse files Browse the repository at this point in the history
dependabot is not bumping major versions so I am doing it manually
  • Loading branch information
crhntr authored and pabloarodas committed Aug 31, 2023
1 parent a7d1d9c commit 2c55b86
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 20 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ require (
github.com/onsi/gomega v1.27.10
github.com/opencontainers/image-spec v1.1.0-rc4
github.com/pivotal-cf-experimental/gomegamatchers v0.0.0-20180326192815-e36bfcc98c3a
github.com/pivotal-cf/go-pivnet/v2 v2.0.11
github.com/pivotal-cf/go-pivnet/v7 v7.0.2
github.com/pivotal-cf/jhanda v0.0.0-20200619200912-8de8eb943a43
github.com/pivotal-cf/om v0.0.0-20230707145702-e2ef8fd451b1
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -556,8 +556,6 @@ github.com/pierrec/lz4 v2.6.0+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi
github.com/pivotal-cf-experimental/gomegamatchers v0.0.0-20180326192815-e36bfcc98c3a h1:K20a2viyp6kZgY41ESLne0eOXyY9DarmwA4q6zQ686w=
github.com/pivotal-cf-experimental/gomegamatchers v0.0.0-20180326192815-e36bfcc98c3a/go.mod h1:HdFegZwXOoRNyrqaOX6FC1zMkbA2k1/ktb2anj1E0K8=
github.com/pivotal-cf/go-pivnet v1.0.3/go.mod h1:rvEzWli4NJQhX7Z3z0DiEQXsPwC+uE//eIKcpl7S1as=
github.com/pivotal-cf/go-pivnet/v2 v2.0.11 h1:6tzC4zOr7acFPevfP32+8rEU567JlDobqiIejFf8aOc=
github.com/pivotal-cf/go-pivnet/v2 v2.0.11/go.mod h1:Ormn4YO2MooU40LNFwECoLd8XZFwbRcysET+OAn7FLg=
github.com/pivotal-cf/go-pivnet/v6 v6.0.2/go.mod h1:ymI4gZvp8lf3GNaf1Re+JRV18zU0w8TLBDQB/t8SaFs=
github.com/pivotal-cf/go-pivnet/v7 v7.0.2 h1:8IYUIXmFEJpuTSIuOM5K4z0tJLPULDPpKJfn+wWLhqk=
github.com/pivotal-cf/go-pivnet/v7 v7.0.2/go.mod h1:h868WmuLUuavwNHoC6FyGI3hK/6rP3/HCmM8sYLuC8c=
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/fakes/pivnet_product_files_service.go

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

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

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

20 changes: 11 additions & 9 deletions internal/commands/fakes/pivnet_releases_service.go

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

2 changes: 1 addition & 1 deletion internal/commands/fakes/pivnet_user_groups_service.go

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

6 changes: 3 additions & 3 deletions internal/commands/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (

"github.com/Masterminds/semver/v3"
"github.com/go-git/go-billy/v5"
"github.com/pivotal-cf/go-pivnet/v2"
"github.com/pivotal-cf/go-pivnet/v2/logshim"
"github.com/pivotal-cf/go-pivnet/v7"
"github.com/pivotal-cf/go-pivnet/v7/logshim"
"github.com/pivotal-cf/jhanda"
"gopkg.in/yaml.v2"

Expand All @@ -28,7 +28,7 @@ const (

//counterfeiter:generate -o ./fakes/pivnet_releases_service.go --fake-name PivnetReleasesService . PivnetReleasesService
type PivnetReleasesService interface {
List(productSlug string) ([]pivnet.Release, error)
List(productSlug string, _ ...pivnet.QueryParameter) ([]pivnet.Release, error)
Update(productSlug string, release pivnet.Release) (pivnet.Release, error)
}

Expand Down
2 changes: 1 addition & 1 deletion internal/commands/publish_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

"github.com/go-git/go-billy/v5"
"github.com/go-git/go-billy/v5/memfs"
"github.com/pivotal-cf/go-pivnet/v2"
"github.com/pivotal-cf/go-pivnet/v7"

"github.com/pivotal-cf/kiln/internal/commands"
commandsFakes "github.com/pivotal-cf/kiln/internal/commands/fakes"
Expand Down

0 comments on commit 2c55b86

Please sign in to comment.