Skip to content

Commit

Permalink
KUBESAW-43: Introduce LastUpdatedTime as prefered one (#1025)
Browse files Browse the repository at this point in the history
* KUBESAW-43: Introduce LastUpdatedTime as prefered one

Signed-off-by: Feny Mehta <[email protected]>

* Updating the toolchain common

Signed-off-by: Feny Mehta <[email protected]>

---------

Signed-off-by: Feny Mehta <[email protected]>
Co-authored-by: Francisc Munteanu <[email protected]>
  • Loading branch information
fbm3307 and mfrancisc authored May 13, 2024
1 parent e07a38c commit c902ee4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}},
},
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit c902ee4

Please sign in to comment.