diff --git a/performance_measurement/measure_runner.py b/performance_measurement/measure_runner.py index ccd70e664..4520e7774 100644 --- a/performance_measurement/measure_runner.py +++ b/performance_measurement/measure_runner.py @@ -267,7 +267,7 @@ def run(self, continue if condition_2 is None: - if (event["object"].status.ready_replicas == input["spec"]["replicas"] + if (event["object"].status.ready_replicas == event["object"].spec.replicas and event["object"].status.current_revision == last_revision): condition_2 = timestamp break