Skip to content

Commit 461abc9

Browse files
authored
Merge pull request #1797 from steved/steved/event-webhook-timeout
fix: honor event webhook timeout
2 parents 6b89d56 + 253123b commit 461abc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func CallEventWebhook(r *flaggerv1.Canary, w flaggerv1.CanaryWebhook, message, e
138138
payload.Metadata[key] = value
139139
}
140140
}
141-
return callWebhook(w.URL, payload, "5s", w.Retries, w.DisableTLS)
141+
return callWebhook(w.URL, payload, w.Timeout, w.Retries, w.DisableTLS)
142142
}
143143

144144
func canaryChecksum(c flaggerv1.Canary) string {

0 commit comments

Comments
 (0)