Skip to content

Commit

Permalink
fix struct field typo for webhook config
Browse files Browse the repository at this point in the history
Signed-off-by: Alec Merdler <alecmerdler@gmail.com>
  • Loading branch information
alecmerdler authored and ldelossa committed Sep 15, 2020
1 parent 5e1ac4d commit 5fde750
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/notifier.go
Expand Up @@ -41,7 +41,7 @@ type Notifier struct {
// Only one of the following should be provided in the configuration
//
// Configures the notifier for webhook delivery
Webbook *webhook.Config `yaml:"webhook" json:"webhook"`
Webhook *webhook.Config `yaml:"webhook" json:"webhook"`
// Configures the notifier for AMQP delivery.
AMQP *amqp.Config `yaml:"amqp" json:"amqp"`
// Configures the notifier for STOMP delivery.
Expand Down
4 changes: 2 additions & 2 deletions initialize/services.go
Expand Up @@ -102,7 +102,7 @@ func (i *Init) Services() error {
Matcher: libV,
Migrations: i.conf.Notifier.Migrations,
PollInterval: pInterval,
Webhook: i.conf.Notifier.Webbook,
Webhook: i.conf.Notifier.Webhook,
AMQP: i.conf.Notifier.AMQP,
STOMP: i.conf.Notifier.STOMP,
})
Expand Down Expand Up @@ -235,7 +235,7 @@ func (i *Init) Services() error {
Matcher: remoteMatcher,
Migrations: i.conf.Notifier.Migrations,
PollInterval: pInterval,
Webhook: i.conf.Notifier.Webbook,
Webhook: i.conf.Notifier.Webhook,
AMQP: i.conf.Notifier.AMQP,
STOMP: i.conf.Notifier.STOMP,
})
Expand Down

0 comments on commit 5fde750

Please sign in to comment.