Skip to content

Commit 8ee7060

Browse files
Samzesethboyles
authored andcommitted
Remove comment
1 parent 4432b38 commit 8ee7060

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

app/actions/deployment_continue.rb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,6 @@ def continue(deployment:, user_audit_info:)
1313

1414
record_audit_event(deployment, user_audit_info)
1515

16-
# state = if deployment.canary_steps && deployment.canary_current_step != deployment.canary_steps.length
17-
# DeploymentModel::PREPAUSED_STATE
18-
# else
19-
# DeploymentModel::DEPLOYING_STATE
20-
# end
21-
22-
# deployment.update(
23-
# state: state,
24-
# status_value: DeploymentModel::ACTIVE_STATUS_VALUE,
25-
# status_reason: DeploymentModel::DEPLOYING_STATUS_REASON
26-
# )
27-
28-
# TODO: Should we increment step here or in the PAUSE action?
2916
if deployment.canary_steps && deployment.canary_current_step < deployment.canary_steps.length
3017
deployment.update(
3118
state: DeploymentModel::PREPAUSED_STATE,

0 commit comments

Comments
 (0)