Skip to content

Commit 1003fb5

Browse files
Bump to ginkgo/v2 and lager/v3 (#47)
* Bump to ginkgo/v2 * Bump to lager/v3 * fix `go vet` failures
1 parent 0fc4f3a commit 1003fb5

File tree

81 files changed

+142
-128
lines changed

Some content is hidden

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

81 files changed

+142
-128
lines changed

authenticators/authenticators_suite_test.go

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

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

77
"testing"

authenticators/cf_authenticator.go

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

12-
"code.cloudfoundry.org/lager"
12+
"code.cloudfoundry.org/lager/v3"
1313
"github.com/golang-jwt/jwt/v4"
1414
"golang.org/x/crypto/ssh"
1515
)

authenticators/cf_authenticator_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"code.cloudfoundry.org/diego-ssh/authenticators"
1212
"code.cloudfoundry.org/diego-ssh/authenticators/fake_authenticators"
1313
"code.cloudfoundry.org/diego-ssh/test_helpers/fake_ssh"
14-
"code.cloudfoundry.org/lager/lagertest"
15-
. "github.com/onsi/ginkgo"
14+
"code.cloudfoundry.org/lager/v3/lagertest"
15+
. "github.com/onsi/ginkgo/v2"
1616
. "github.com/onsi/gomega"
1717
"github.com/onsi/gomega/gbytes"
1818
"github.com/onsi/gomega/ghttp"

authenticators/composite_authenticator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"code.cloudfoundry.org/diego-ssh/authenticators"
88
"code.cloudfoundry.org/diego-ssh/authenticators/fake_authenticators"
99
"code.cloudfoundry.org/diego-ssh/test_helpers/fake_ssh"
10-
. "github.com/onsi/ginkgo"
10+
. "github.com/onsi/ginkgo/v2"
1111
. "github.com/onsi/gomega"
1212
"golang.org/x/crypto/ssh"
1313
)

authenticators/diego_proxy_authenticator.go

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

8-
"code.cloudfoundry.org/lager"
8+
"code.cloudfoundry.org/lager/v3"
99
"golang.org/x/crypto/ssh"
1010
)
1111

authenticators/diego_proxy_authenticator_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import (
66
"code.cloudfoundry.org/diego-ssh/authenticators"
77
"code.cloudfoundry.org/diego-ssh/authenticators/fake_authenticators"
88
"code.cloudfoundry.org/diego-ssh/test_helpers/fake_ssh"
9-
"code.cloudfoundry.org/lager/lagertest"
9+
"code.cloudfoundry.org/lager/v3/lagertest"
1010
"golang.org/x/crypto/ssh"
1111

12-
. "github.com/onsi/ginkgo"
12+
. "github.com/onsi/ginkgo/v2"
1313
. "github.com/onsi/gomega"
1414
)
1515

authenticators/fake_authenticators/fake_permissions_builder.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.

authenticators/permissions_builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"code.cloudfoundry.org/bbs/models"
99
"code.cloudfoundry.org/diego-ssh/proxy"
1010
"code.cloudfoundry.org/diego-ssh/routes"
11-
"code.cloudfoundry.org/lager"
11+
"code.cloudfoundry.org/lager/v3"
1212
"golang.org/x/crypto/ssh"
1313
)
1414

authenticators/permissions_builder_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"code.cloudfoundry.org/diego-ssh/authenticators"
1010
"code.cloudfoundry.org/diego-ssh/routes"
1111
"code.cloudfoundry.org/diego-ssh/test_helpers/fake_ssh"
12-
"code.cloudfoundry.org/lager/lagertest"
13-
. "github.com/onsi/ginkgo"
12+
"code.cloudfoundry.org/lager/v3/lagertest"
13+
. "github.com/onsi/ginkgo/v2"
1414
. "github.com/onsi/gomega"
1515
"golang.org/x/crypto/ssh"
1616
)

authenticators/public_key_authenticator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"code.cloudfoundry.org/diego-ssh/test_helpers/fake_ssh"
77
"golang.org/x/crypto/ssh"
88

9-
. "github.com/onsi/ginkgo"
9+
. "github.com/onsi/ginkgo/v2"
1010
. "github.com/onsi/gomega"
1111
)
1212

0 commit comments

Comments
 (0)