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 committed Apr 26, 2022
1 parent 6bb07c7 commit dd81112
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 22 deletions.
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ require (
github.com/onsi/ginkgo v1.15.2
github.com/onsi/gomega v1.11.0
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/v3 v3.0.3
github.com/pivotal-cf/go-pivnet/v7 v7.0.1
github.com/pivotal-cf/jhanda v0.0.0-20200619200912-8de8eb943a43
github.com/pivotal-cf/om v0.0.0-20211027143906-30b10602e528
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5
Expand Down
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,11 @@ github.com/pivotal-cf-experimental/gomegamatchers v0.0.0-20180326192815-e36bfcc9
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 h1:rbv/u22FQHMpYy5CQPrCdlqNi+76WyZLGTieAJPl/wM=
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/v3 v3.0.3 h1:xSWlOPbMJA5e+nqjKjIy1SXYxqRKKBxR8jrcnIBgih4=
github.com/pivotal-cf/go-pivnet/v3 v3.0.3/go.mod h1:qmP9QfOQuVuY/lGITecbyjsDpcSGQh619GpqpCuB6ZQ=
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.1 h1:5MFZcNyur22u6Qv+trfe13B7peBHvjIl+E7+cvBAk98=
github.com/pivotal-cf/go-pivnet/v7 v7.0.1/go.mod h1:h868WmuLUuavwNHoC6FyGI3hK/6rP3/HCmM8sYLuC8c=
github.com/pivotal-cf/jhanda v0.0.0-20200619200912-8de8eb943a43 h1:SYEUxVbqz3U7pJP/tlaXaD08w0rZVuPvCFRodnw/TLY=
github.com/pivotal-cf/jhanda v0.0.0-20200619200912-8de8eb943a43/go.mod h1:UXciri1Yqno0IdXxEzwMF91nnwYMPoN95goHWxVtWq8=
github.com/pivotal-cf/om v0.0.0-20211027143906-30b10602e528 h1:XYJJ3cozlyyEs9IhoQLA2ZE9GpT4qrtM8V9FhXF4PqY=
Expand Down
4 changes: 2 additions & 2 deletions internal/acceptance/integration/publish_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
"github.com/onsi/gomega/gstruct"
pivnet "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"
)

var _ = Describe("publish", func() {
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"
"github.com/go-git/go-billy/v5"
pivnet "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, params ...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 @@ -13,7 +13,7 @@ import (
"github.com/Masterminds/semver"
"github.com/go-git/go-billy/v5"
"github.com/go-git/go-billy/v5/memfs"
pivnet "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 dd81112

Please sign in to comment.