Skip to content

Commit f627e21

Browse files
Bump to ginkgo/v2 && lager/v3 (#39)
* Bump to ginkgo/v2 && lager/v3 * fix `go vet` failures * remove un-needed code Context: cloudfoundry/rep#39 (comment)
1 parent be8beeb commit f627e21

File tree

80 files changed

+159
-158
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+159
-158
lines changed

auctioncellrep/auction_cell_rep.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
"code.cloudfoundry.org/bbs/models"
1111
"code.cloudfoundry.org/executor"
12-
"code.cloudfoundry.org/lager"
12+
"code.cloudfoundry.org/lager/v3"
1313
"code.cloudfoundry.org/rep"
1414
"code.cloudfoundry.org/rep/evacuation/evacuation_context"
1515
)

auctioncellrep/auction_cell_rep_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package auctioncellrep_test
22

33
import (
4-
. "github.com/onsi/ginkgo"
4+
. "github.com/onsi/ginkgo/v2"
55
. "github.com/onsi/gomega"
66

77
"testing"

auctioncellrep/auction_cell_rep_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import (
77
"code.cloudfoundry.org/executor"
88
"code.cloudfoundry.org/executor/containermetrics"
99
fake_client "code.cloudfoundry.org/executor/fakes"
10-
"code.cloudfoundry.org/lager/lagertest"
10+
"code.cloudfoundry.org/lager/v3/lagertest"
1111
"code.cloudfoundry.org/rep"
1212
"code.cloudfoundry.org/rep/auctioncellrep"
1313
fakes "code.cloudfoundry.org/rep/auctioncellrep/auctioncellrepfakes"
1414
"code.cloudfoundry.org/rep/evacuation/evacuation_context/fake_evacuation_context"
15-
. "github.com/onsi/ginkgo"
15+
. "github.com/onsi/ginkgo/v2"
1616
. "github.com/onsi/gomega"
1717
)
1818

auctioncellrep/auctioncellrepfakes/fake_auction_cell_client.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

auctioncellrep/auctioncellrepfakes/fake_batch_container_allocator.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

auctioncellrep/batch_container_allocator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strconv"
66

77
"code.cloudfoundry.org/executor"
8-
"code.cloudfoundry.org/lager"
8+
"code.cloudfoundry.org/lager/v3"
99
"code.cloudfoundry.org/rep"
1010
)
1111

auctioncellrep/batch_container_allocator_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99
"code.cloudfoundry.org/bbs/models"
1010
"code.cloudfoundry.org/executor"
1111
fake_client "code.cloudfoundry.org/executor/fakes"
12-
"code.cloudfoundry.org/lager/lagertest"
12+
"code.cloudfoundry.org/lager/v3/lagertest"
1313
"code.cloudfoundry.org/rep"
1414
"code.cloudfoundry.org/rep/auctioncellrep"
15-
. "github.com/onsi/ginkgo"
15+
. "github.com/onsi/ginkgo/v2"
1616
. "github.com/onsi/gomega"
1717
"github.com/onsi/gomega/gbytes"
1818
)

auctioncellrep/helpers_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package auctioncellrep_test
22

33
import (
44
"code.cloudfoundry.org/rep/auctioncellrep"
5-
. "github.com/onsi/ginkgo"
5+
. "github.com/onsi/ginkgo/v2"
66
. "github.com/onsi/gomega"
77
)
88

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"time"
1414

1515
"code.cloudfoundry.org/bbs/models"
16-
"code.cloudfoundry.org/lager"
16+
"code.cloudfoundry.org/lager/v3"
1717
"code.cloudfoundry.org/tlsconfig"
1818
"github.com/tedsuo/rata"
1919
)

client_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import (
99

1010
"code.cloudfoundry.org/bbs/models"
1111
cfhttp "code.cloudfoundry.org/cfhttp/v2"
12-
"code.cloudfoundry.org/lager/lagertest"
12+
"code.cloudfoundry.org/lager/v3/lagertest"
1313
"code.cloudfoundry.org/rep"
1414
"code.cloudfoundry.org/routing-info/internalroutes"
1515

16-
. "github.com/onsi/ginkgo"
16+
. "github.com/onsi/ginkgo/v2"
1717
. "github.com/onsi/gomega"
1818
"github.com/onsi/gomega/gbytes"
1919
"github.com/onsi/gomega/ghttp"

0 commit comments

Comments
 (0)