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

CORTX-33855: remove extra arrow from update provisioning status #6398

Merged
merged 3 commits into from
Aug 4, 2022
Merged
Changes from 1 commit
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
8 changes: 4 additions & 4 deletions src/provisioner/provisioner.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,11 +473,11 @@ def _update_provisioning_status(cortx_conf: MappedConf, node_id: str,

# TODO: Remove the following section once gconf is moved to consul completely.
CortxProvisioner._load_consul_conf(CortxProvisioner._cortx_gconf_consul_index)
Conf.set(CortxProvisioner._cortx_gconf_consul_index, f'{key_prefix}>phase', phase)
Conf.set(CortxProvisioner._cortx_gconf_consul_index, f'{key_prefix}>status', status)
Conf.set(CortxProvisioner._cortx_gconf_consul_index, f'{key_prefix}phase', phase)
Conf.set(CortxProvisioner._cortx_gconf_consul_index, f'{key_prefix}status', status)
if phase is ProvisionerStages.DEPLOYMENT.value:
cortx_conf.set(f'node>{node_id}>provisioning>time', int(time.time()))
Conf.set(CortxProvisioner._cortx_gconf_consul_index, f'{key_prefix}>time', int(time.time()))
cortx_conf.set(f'{key_prefix}time', int(time.time()))
Conf.set(CortxProvisioner._cortx_gconf_consul_index, f'{key_prefix}time', int(time.time()))
Conf.save(CortxProvisioner._cortx_gconf_consul_index)

@staticmethod
Expand Down