提交 cb1ac0d0 编写于 作者: C colynn.liu

feat: when status was unkown / action

上级 381c76b2
......@@ -63,7 +63,7 @@ func (pm *PublishManager) getPublishItemCanEnableOperations(item *models.Publish
operations.BackTo = false
case models.Running, models.Pending:
operations = getOperationCanEnableByStepStatus(item.StepType, item.Status, operations)
case models.Failed:
case models.Failed, models.UnKnown:
operations = getOperationCanEnableByStepStatus(item.StepType, item.Status, operations)
case models.Success:
nextStep, err := pm.pipelineHandler.GetNextStepTypeByStageID(item.LastPipelineInstanceID, item.StageID, item.StepIndex)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册