Provisioning: Fix panic in webhook extra (#110845)

This commit is contained in:
Stephanie Hingtgen
2025-09-09 17:16:57 -05:00
committed by GitHub
parent 651e52fd10
commit 451cc00b6a
@@ -30,7 +30,7 @@ type WebhookExtraBuilder struct {
// FIXME: separate the URL provider from connector to simplify operators
func (b *WebhookExtraBuilder) WebhookURL(ctx context.Context, r *provisioning.Repository) string {
if !b.isPublic {
if b == nil || !b.isPublic {
return ""
}