Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gu <[email protected]>
  • Loading branch information
tylergu committed Nov 19, 2023
1 parent d68f1d1 commit 99beed1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions performance_measurement/measure_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 99beed1

Please sign in to comment.