diff --git a/performance_measurement/measure_runner.py b/performance_measurement/measure_runner.py index 86da2b77d..3b3852ac0 100644 --- a/performance_measurement/measure_runner.py +++ b/performance_measurement/measure_runner.py @@ -252,7 +252,7 @@ def run(self, continue if condition_2 is None: - if (event["object"].status.number_ready == input["spec"]["replicas"] + if (event["object"].status.ready_replicas == input["spec"]["replicas"] and current_spec_hash == last_spec_hash): condition_2 = timestamp break @@ -301,7 +301,7 @@ def run(self, continue if condition_2 is None: - if (ds_event["object"].status.number_ready == input["spec"]["replicas"] + if (ds_event["object"].status.ready_replicas == input["spec"]["replicas"] and current_spec_hash == last_spec_hash): condition_2 = timestamp break