diff --git a/go.mod b/go.mod index 5029dd18d..18710ee20 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,7 @@ module github.com/codeready-toolchain/host-operator +replace github.com/codeready-toolchain/toolchain-common => github.com/fbm3307/toolchain-common v0.0.0-20240327060316-2473a65f2520 + require ( github.com/codeready-toolchain/api v0.0.0-20240322110702-5ab3840476e9 github.com/codeready-toolchain/toolchain-common v0.0.0-20240322131000-8d44f7428e83 @@ -114,5 +116,3 @@ require ( ) go 1.20 - -replace github.com/codeready-toolchain/toolchain-common => github.com/fbm3307/toolchain-common v0.0.0-20240325124307-e711469fec6d diff --git a/go.sum b/go.sum index c08df56cf..80e9fea7f 100644 --- a/go.sum +++ b/go.sum @@ -191,8 +191,8 @@ github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870/go.mod h1:5tD+ne 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-20240325124307-e711469fec6d h1:/g0OvY5tHYmmnSVSjgY1GxEHW1fFjl37NzxhgDVqhzw= -github.com/fbm3307/toolchain-common v0.0.0-20240325124307-e711469fec6d/go.mod h1:OJ3L9aaTRMGjxr2WeH/9l6m5OjExwEK3Bp/+P+efoGg= +github.com/fbm3307/toolchain-common v0.0.0-20240327060316-2473a65f2520 h1:monNakHFVRUBR+tJ/cPoQLwqljO0DYWy0tneNpAhuSI= +github.com/fbm3307/toolchain-common v0.0.0-20240327060316-2473a65f2520/go.mod h1:OJ3L9aaTRMGjxr2WeH/9l6m5OjExwEK3Bp/+P+efoGg= 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= diff --git a/main.go b/main.go index 70adb8565..6581a0cfc 100644 --- a/main.go +++ b/main.go @@ -33,7 +33,7 @@ import ( "github.com/codeready-toolchain/host-operator/pkg/templates/nstemplatetiers" "github.com/codeready-toolchain/host-operator/pkg/templates/usertiers" "github.com/codeready-toolchain/host-operator/version" - "github.com/codeready-toolchain/toolchain-common/controllers/toolchaincluster_cache" + "github.com/codeready-toolchain/toolchain-common/controllers/toolchainclustercache" commonclient "github.com/codeready-toolchain/toolchain-common/pkg/client" commoncluster "github.com/codeready-toolchain/toolchain-common/pkg/cluster" commonconfig "github.com/codeready-toolchain/toolchain-common/pkg/configuration" @@ -215,7 +215,7 @@ func main() { // nolint:gocyclo } // Setup all Controllers - if err = toolchaincluster_cache.NewReconciler( + if err = toolchainclustercache.NewReconciler( mgr, namespace, memberClientTimeout, @@ -382,7 +382,7 @@ func main() { // nolint:gocyclo } setupLog.Info("Starting ToolchainCluster health checks.") - toolchaincluster_cache.StartHealthChecks(ctx, mgr, namespace, 10*time.Second) + toolchainclustercache.StartHealthChecks(ctx, mgr, namespace, 10*time.Second) // create or update Toolchain status during the operator deployment setupLog.Info("Creating/updating the ToolchainStatus resource")