From 940df39c0e9a01f0c023d0407e4a8ce511d2ad64 Mon Sep 17 00:00:00 2001 From: YaqinLi Date: Fri, 17 Nov 2023 02:52:40 +0000 Subject: [PATCH] fix a typo --- deploy-agent/deployd/types/deploy_goal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-agent/deployd/types/deploy_goal.py b/deploy-agent/deployd/types/deploy_goal.py index bd08c89661..906f6d6b04 100644 --- a/deploy-agent/deployd/types/deploy_goal.py +++ b/deploy-agent/deployd/types/deploy_goal.py @@ -35,7 +35,7 @@ def __init__(self, jsonValue=None): self.envId = jsonValue.get('envId') self.envName = jsonValue.get('envName') self.stageName = jsonValue.get('stageName') - self.stageName = jsonValue.get('stageType') + self.stageType = jsonValue.get('stageType') # TODO: Only used for migration, should remove later if isinstance(jsonValue.get('deployStage'), int): self.deployStage = DeployStage._VALUES_TO_NAMES[jsonValue.get('deployStage')]