From ac3af96113f135b68ea0752723896a87fb42aeb6 Mon Sep 17 00:00:00 2001 From: Feny Mehta Date: Tue, 2 Jul 2024 19:16:18 +0530 Subject: [PATCH] Updating after changes to TC Signed-off-by: Feny Mehta --- go.mod | 2 +- go.sum | 5 +++-- main.go | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 8139a193..70ef37f0 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/codeready-toolchain/member-operator -replace github.com/codeready-toolchain/toolchain-common => github.com/fbm3307/toolchain-common v0.0.0-20240626054411-0d94d353157c +replace github.com/codeready-toolchain/toolchain-common => github.com/fbm3307/toolchain-common v0.0.0-20240702113651-1b5b160ab47a require ( github.com/codeready-toolchain/api v0.0.0-20240620205422-a29b6c658d03 diff --git a/go.sum b/go.sum index 31bb5930..d4ab4f85 100644 --- a/go.sum +++ b/go.sum @@ -183,8 +183,8 @@ github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d/go.mod h1:ZZM github.com/fatih/camelcase v1.0.0/go.mod h1:yN2Sb0lFhZJUdVvtELVWefmrXpuZESvPmqwoZc+/fpc= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/set v0.2.1/go.mod h1:+RKtMCH+favT2+3YecHGxcc0b4KyVWA1QWWJUs4E0CI= -github.com/fbm3307/toolchain-common v0.0.0-20240626054411-0d94d353157c h1:o1Dxvns4TcEPOLxAeJnx/+VoAoAD3bKr5XXH4EplmW4= -github.com/fbm3307/toolchain-common v0.0.0-20240626054411-0d94d353157c/go.mod h1:ZwfGkrTArynbvIPOJwQQCwFVW7Dj0XOgi5XzkNG1ov8= +github.com/fbm3307/toolchain-common v0.0.0-20240702113651-1b5b160ab47a h1:Zb3XG11094zApuL2YQHnBcMqW3uk+09CxaJUy0OPe+E= +github.com/fbm3307/toolchain-common v0.0.0-20240702113651-1b5b160ab47a/go.mod h1:ZwfGkrTArynbvIPOJwQQCwFVW7Dj0XOgi5XzkNG1ov8= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= @@ -1139,6 +1139,7 @@ gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/main.go b/main.go index 13d7fd06..edd72e9b 100644 --- a/main.go +++ b/main.go @@ -230,7 +230,7 @@ func main() { Client: mgr.GetClient(), Scheme: mgr.GetScheme(), RequeAfter: 10 * time.Second, - CheckHealth: toolchaincluster.GetClusterHealthStatus, + CheckHealth: toolchaincluster.GetClusterHealth, }).SetupWithManager(mgr); err != nil { setupLog.Error(err, "unable to create controller", "controller", "ToolchainCluster") os.Exit(1)