better naming on #891
This commit is contained in:
parent
485ea6f14f
commit
d02e45f985
7 changed files with 11 additions and 11 deletions
|
@ -69,9 +69,9 @@ var (
|
|||
|
||||
// Webhook settings.
|
||||
Webhook struct {
|
||||
TaskInterval int
|
||||
DeliverTimeout int
|
||||
AllowInsecureCertification bool
|
||||
TaskInterval int
|
||||
DeliverTimeout int
|
||||
SkipTLSVerify bool
|
||||
}
|
||||
|
||||
// Repository settings.
|
||||
|
@ -514,7 +514,7 @@ func newWebhookService() {
|
|||
sec := Cfg.Section("webhook")
|
||||
Webhook.TaskInterval = sec.Key("TASK_INTERVAL").MustInt(1)
|
||||
Webhook.DeliverTimeout = sec.Key("DELIVER_TIMEOUT").MustInt(5)
|
||||
Webhook.AllowInsecureCertification = sec.Key("ALLOW_INSECURE_CERTIFICATION").MustBool()
|
||||
Webhook.SkipTLSVerify = sec.Key("SKIP_TLS_VERIFY").MustBool()
|
||||
}
|
||||
|
||||
func NewServices() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue