Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
Fixed the type of execution_timestamp (#1376) (#1377)
Browse files Browse the repository at this point in the history
Co-authored-by: Sushanta Das <[email protected]>
  • Loading branch information
service-binding-operator-bot and tisutisu committed Jan 23, 2023
1 parent fb22a56 commit 3565828
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/performance/upload_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def read_metric_data(file_name):
run_type = content['run_type']
pull_number = content['pull_number']
commit_id = content['commit_id']

execution_timestamp_in_string = execution_timestamp.strftime("%Y-%m-%d %H:%M:%S")
for data in kpi_data:
if data['name'] == 'usage':
for metric in data['metrics']:
Expand All @@ -130,7 +130,7 @@ def read_metric_data(file_name):
'run_type': run_type,
'pull_number': pull_number,
'commit_id': commit_id,
'execution_timestamp': execution_timestamp,
'execution_timestamp': execution_timestamp_in_string,
'sbo_version': sbo_version,
'openshift_version': openshift_version,
'openshift_release': openshift_release}
Expand Down

0 comments on commit 3565828

Please sign in to comment.