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 20, 2023
1 parent 5ff230d commit bd83a11
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 @@ -246,7 +246,7 @@ def run(self,
logger.info(
f"{event['type']} {event['object'].metadata.name} at {timestamp} - {dt_object}")
patch = jsonpatch.JsonPatch.from_diff(prev_spec, obj_dict["spec"], dumps=acto_dumps)
logger.info(f"Patch: {patch}")
logger.info(f"Patch: {patch.to_string(dumps=acto_dumps)}")

curr_spec = obj_dict["spec"]
# remove the lastRestartAt label for rabbitmq, hack for the reference rabbitmq operator
Expand Down Expand Up @@ -299,7 +299,7 @@ def run(self,
logger.info(
f"{ds_event['type']} {obj_dict['metadata']['name']} at {timestamp} - {dt_object}")
patch = jsonpatch.JsonPatch.from_diff(prev_obj, obj_dict, dumps=acto_dumps)
logger.info(f"Patch: {patch}")
logger.info(f"Patch: {patch.to_string(dumps=acto_dumps)}")

prev_obj = obj_dict
current_spec_hash = hashlib.sha256(json.dumps(
Expand Down

0 comments on commit bd83a11

Please sign in to comment.