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

CORTX-33672: added deployment time in Query deployemnt #866

Merged
merged 1 commit into from
Aug 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions py-utils/src/utils/query_deployment/query_deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ def _get_cortx_topology(data: dict) -> dict:
nodes_info['machine_id'] = nodes_key
for key, val in data['node'][nodes_key].items():
if key == 'provisioning':
# TODO: uncomment below once deployment time is supported by provisioner
# nodes_info['deployment_time'] = data['node'][nodes_key]['provisioning']['time']
nodes_info['deployment_time'] = data['node'][nodes_key]['provisioning']['time']
nodes_info['version'] = data['node'][nodes_key]['provisioning']['version']
else:
nodes_info[key] = val
Expand Down