Skip to content

Commit 4156a74

Browse files
committed
fix spaces
1 parent 2f6ce78 commit 4156a74

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

modules/hostmatcher/hostmatcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
// HostMatchList is used to check if a host or ip is in a list
1616
type HostMatchList struct {
17-
hosts []string
17+
hosts []string
1818
ipNets []*net.IPNet
1919
}
2020

modules/setting/webhook.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ import (
1414
var (
1515
// Webhook settings
1616
Webhook = struct {
17-
QueueLength int
18-
DeliverTimeout int
19-
SkipTLSVerify bool
20-
AllowedHostList *hostmatcher.HostMatchList
21-
Types []string
22-
PagingNum int
23-
ProxyURL string
24-
ProxyURLFixed *url.URL
25-
ProxyHosts []string
17+
QueueLength int
18+
DeliverTimeout int
19+
SkipTLSVerify bool
20+
AllowedHostList *hostmatcher.HostMatchList
21+
Types []string
22+
PagingNum int
23+
ProxyURL string
24+
ProxyURLFixed *url.URL
25+
ProxyHosts []string
2626
}{
2727
QueueLength: 1000,
2828
DeliverTimeout: 5,

0 commit comments

Comments
 (0)