Skip to content

Commit

Permalink
Merge branch 'main' into notify_microsoft
Browse files Browse the repository at this point in the history
  • Loading branch information
martinvibes committed Nov 6, 2024
2 parents 46eea19 + c6c1e26 commit b7e4992
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cmd/relayproxy/config/notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import "fmt"
type NotifierConf struct {
Kind NotifierKind `mapstructure:"kind" koanf:"kind"`
// Deprecated: Use WebhookURL instead
SlackWebhookURL string `mapstructure:"slackWebhookUrl" koanf:"slackwebhookurl"`
EndpointURL string `mapstructure:"endpointUrl" koanf:"endpointurl"`
Secret string `mapstructure:"secret" koanf:"secret"`
Meta map[string]string `mapstructure:"meta" koanf:"meta"`
Headers map[string][]string `mapstructure:"headers" koanf:"headers"`
WebhookURL string `mapstructure:"webhookUrl" koanf:"webhookurl"`
SlackWebhookURL string `mapstructure:"slackWebhookUrl" koanf:"slackwebhookurl"`
EndpointURL string `mapstructure:"endpointUrl" koanf:"endpointurl"`
Secret string `mapstructure:"secret" koanf:"secret"`
Meta map[string]string `mapstructure:"meta" koanf:"meta"`
Headers map[string][]string `mapstructure:"headers" koanf:"headers"`
WebhookURL string `mapstructure:"webhookUrl" koanf:"webhookurl"`
}

func (c *NotifierConf) IsValid() error {
Expand Down

0 comments on commit b7e4992

Please sign in to comment.