diff --git a/op/status.go b/op/status.go index 2e0291a8..451d433b 100644 --- a/op/status.go +++ b/op/status.go @@ -490,7 +490,7 @@ func GetKubernetesClusterStatus(ctx context.Context, inf cke.Infrastructure, n * } func objStatus(generation, observedGeneration, desired, updated, available int64) bool { - if generation < observedGeneration { + if generation > observedGeneration { return false } // If we get the status immediately after applying the resource, the value of desired may be 0.