diff --git a/controllers/toolchainstatus/toolchainstatus_controller_test.go b/controllers/toolchainstatus/toolchainstatus_controller_test.go index b462a4c6c..b10a42b5d 100644 --- a/controllers/toolchainstatus/toolchainstatus_controller_test.go +++ b/controllers/toolchainstatus/toolchainstatus_controller_test.go @@ -1836,9 +1836,10 @@ func cachedToolchainCluster(cl runtimeclient.Client, name string, status corev1. Client: cl, ClusterStatus: &toolchainv1alpha1.ToolchainClusterStatus{ Conditions: []toolchainv1alpha1.ToolchainClusterCondition{{ - Type: toolchainv1alpha1.ToolchainClusterReady, - Status: status, - LastProbeTime: lastProbeTime, + Type: toolchainv1alpha1.ToolchainClusterReady, + Status: status, + LastProbeTime: lastProbeTime, + LastUpdatedTime: &lastProbeTime, }}, }, } diff --git a/go.mod b/go.mod index 950c3d0d1..6b3f0ebb5 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/codeready-toolchain/host-operator require ( github.com/codeready-toolchain/api v0.0.0-20240507023248-73662d6db2c5 - github.com/codeready-toolchain/toolchain-common v0.0.0-20240506145250-db635e46e690 + github.com/codeready-toolchain/toolchain-common v0.0.0-20240513103602-0cabe6c279c8 github.com/davecgh/go-spew v1.1.1 // indirect github.com/go-bindata/go-bindata v3.1.2+incompatible github.com/go-logr/logr v1.2.3 diff --git a/go.sum b/go.sum index d8a3b2516..5ef3ae9e1 100644 --- a/go.sum +++ b/go.sum @@ -138,8 +138,8 @@ github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoC github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= github.com/codeready-toolchain/api v0.0.0-20240507023248-73662d6db2c5 h1:BPIwkb0fqJEJ5GjMFgkoo13f8AY5UTWmPD4Hcm1GqoU= github.com/codeready-toolchain/api v0.0.0-20240507023248-73662d6db2c5/go.mod h1:ie9p4LenCCS0LsnbWp6/xwpFDdCWYE0KWzUO6Sk1g0E= -github.com/codeready-toolchain/toolchain-common v0.0.0-20240506145250-db635e46e690 h1:8Ad+AB9UIj0a515fSTvebgZRb7DZBDftJBhJLOENUGM= -github.com/codeready-toolchain/toolchain-common v0.0.0-20240506145250-db635e46e690/go.mod h1:W2DY2gc5tC71iY1SM6pftJ5ML+Vo29pEzMbhLQpX8z0= +github.com/codeready-toolchain/toolchain-common v0.0.0-20240513103602-0cabe6c279c8 h1:6m0CiQDEzBbs9cR5UWLyOcuFgDSgWSgbGajsoV42fC0= +github.com/codeready-toolchain/toolchain-common v0.0.0-20240513103602-0cabe6c279c8/go.mod h1:5ZCAINI2sJifBbe48IHJzDc/GuuWFb5HOL4kWB+a+pA= 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=