Skip to content

Commit 04ffb9c

Browse files
committed
fix: honor event webhook timeout
1 parent 6f165a1 commit 04ffb9c

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)