Skip to content

Commit

Permalink
Revert "fix(Orca): Feature: option to add a delay before polling star…
Browse files Browse the repository at this point in the history
…ts in Webhook stage spinnaker#3450 (spinnaker#2974)"

This reverts commit 2c887f2.
  • Loading branch information
marchello2000 committed Jun 11, 2019
1 parent 4ae6c2c commit f8fa3db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class CreateWebhookTask implements RetryableTask {
return TaskResult.builder(ExecutionStatus.TERMINAL).context(outputs).build()
}

if (statusCode.is5xxServerError() || statusCode.value() == 429 || statusCode.value() == 404) {
if (statusCode.is5xxServerError() || statusCode.value() == 429) {
String errorMessage = "error submitting webhook for pipeline ${stage.execution.id} to ${stageData.url}, will retry."
log.warn(errorMessage, e)

Expand Down

0 comments on commit f8fa3db

Please sign in to comment.