We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56615aa commit 4035de5Copy full SHA for 4035de5
webhook/resource_url_notifier.go
@@ -42,8 +42,8 @@ var (
42
)
43
44
type ResourceURLNotifierConfig struct {
45
- MaxAge time.Duration
46
- MaxDepth int
+ MaxAge time.Duration `yaml:"max_age,omitempty"`
+ MaxDepth int `yaml:"max_depth,omitempty"`
47
}
48
49
var DefaultResourceURLNotifierConfig = ResourceURLNotifierConfig{
webhook/url_notifier.go
@@ -38,8 +38,8 @@ const (
38
39
40
type URLNotifierConfig struct {
41
- NumWorkers int
- QueueSize int
+ NumWorkers int `yaml:"num_workers,omitempty"`
+ QueueSize int `yaml:"queue_size,omitempty"`
var DefaultURLNotifierConfig = URLNotifierConfig{
0 commit comments