Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoaresd committed Jul 17, 2024
1 parent 405aeec commit eeaa73a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ require (
github.com/migueleliasweb/go-github-mock v0.0.18
golang.org/x/oauth2 v0.7.0
gopkg.in/yaml.v2 v2.4.0
k8s.io/kubectl v0.24.0
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed
)

Expand Down Expand Up @@ -107,8 +108,10 @@ require (
k8s.io/component-base v0.25.0 // indirect
k8s.io/klog/v2 v2.70.1 // indirect
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 // indirect
k8s.io/kubectl v0.24.0 // indirect
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)

// temporary
replace github.com/codeready-toolchain/api => github.com/rsoaresd/api v0.0.0-20240717091444-c6440c0ad84e
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWH
github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo=
github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA=
github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI=
github.com/codeready-toolchain/api v0.0.0-20240708122235-0af5a9a178bb h1:Wc9CMsv0ODZv9dM5qF3OI0mFDO95YNIXV/8oRvoz8aE=
github.com/codeready-toolchain/api v0.0.0-20240708122235-0af5a9a178bb/go.mod h1:ie9p4LenCCS0LsnbWp6/xwpFDdCWYE0KWzUO6Sk1g0E=
github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
Expand Down Expand Up @@ -521,6 +519,8 @@ github.com/redhat-cop/operator-utils v1.3.3-0.20220121120056-862ef22b8cdf/go.mod
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rsoaresd/api v0.0.0-20240717091444-c6440c0ad84e h1:nrCMu0XtzQVMD0gKN5cNaYgE0cAYBcF407lj6JDCz6c=
github.com/rsoaresd/api v0.0.0-20240717091444-c6440c0ad84e/go.mod h1:ie9p4LenCCS0LsnbWp6/xwpFDdCWYE0KWzUO6Sk1g0E=
github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
Expand Down
6 changes: 3 additions & 3 deletions pkg/banneduser/banneduser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func TestNewBannedUser(t *testing.T) {
Name: fmt.Sprintf("banneduser-%s", userSignup1UserEmailHash),
Labels: map[string]string{
toolchainv1alpha1.BannedUserEmailHashLabelKey: userSignup1UserEmailHash,
bannedByLabel: "admin",
toolchainv1alpha1.BannedByLabelKey: "admin",
},
},
Spec: toolchainv1alpha1.BannedUserSpec{
Expand All @@ -74,8 +74,8 @@ func TestNewBannedUser(t *testing.T) {
Namespace: userSignup3.Namespace,
Name: fmt.Sprintf("banneduser-%s", userSignup3EmailHash),
Labels: map[string]string{
toolchainv1alpha1.BannedUserEmailHashLabelKey: userSignup3EmailHash,
bannedByLabel: "admin",
toolchainv1alpha1.BannedUserEmailHashLabelKey: userSignup3EmailHash,
toolchainv1alpha1.BannedByLabelKey: "admin",
toolchainv1alpha1.UserSignupUserPhoneHashLabelKey: userSignup3PhoneHash,
},
},
Expand Down

0 comments on commit eeaa73a

Please sign in to comment.