Provisioning: Fix panic in webhook extra (#110845)
This commit is contained in:
1 parent
651e52fd10
commit
451cc00b6a
1 file changed
+1
-1
@@ -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 ""
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user