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 d0f12be commit ef23bda
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 @@ -229,7 +229,7 @@ def run(self,
condition_1 = None
condition_2 = None
if sts_name_f:
last_spec = event_list[-1][0].to_dict()["spec"]
last_spec = event_list[-1][0]['object'].to_dict()["spec"]
last_spec_hash = hashlib.sha256(json.dumps(
last_spec, sort_keys=True).encode()).hexdigest()

Expand Down Expand Up @@ -278,7 +278,7 @@ def run(self,
# else:
# continue
elif daemon_set_name_f:
last_spec = event_list[-1][0].to_dict()["spec"]
last_spec = event_list[-1][0]['object'].to_dict()["spec"]
last_spec_hash = hashlib.sha256(json.dumps(
last_spec, sort_keys=True).encode()).hexdigest()
prev_spec = None
Expand Down

0 comments on commit ef23bda

Please sign in to comment.