diff --git a/cli/operations/server/config.go b/cli/operations/server/config.go index 70aafb395..9cd47f766 100644 --- a/cli/operations/server/config.go +++ b/cli/operations/server/config.go @@ -331,7 +331,6 @@ func ProvideWebhookConfig(config *types.Config) webhook.Config { MaxRetries: config.Webhook.MaxRetries, AllowPrivateNetwork: config.Webhook.AllowPrivateNetwork, AllowLoopback: config.Webhook.AllowLoopback, - InternalWebhooksURL: config.Webhook.InternalWebhooksURL, } } diff --git a/types/config.go b/types/config.go index 1501e544f..ab9860fc7 100644 --- a/types/config.go +++ b/types/config.go @@ -339,8 +339,6 @@ type Config struct { AllowLoopback bool `envconfig:"GITNESS_WEBHOOK_ALLOW_LOOPBACK" default:"false"` // RetentionTime is the duration after which webhook executions will be purged from the DB. RetentionTime time.Duration `envconfig:"GITNESS_WEBHOOK_RETENTION_TIME" default:"168h"` // 7 days - // InternalWebhooksURL is the url for webhooks which are marked as internal - InternalWebhooksURL string `envconfig:"GITNESS_WEBHOOK_INTERNAL_WEBHOOKS_URL"` } Trigger struct {