Skip to content

Commit

Permalink
fix: 💡 correct comments about webhook url and authorization key
Browse files Browse the repository at this point in the history
  • Loading branch information
hlidotbe committed May 30, 2023
1 parent 9ea9239 commit 47f0fba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alerting/provider/gitlab/gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (

// AlertProvider is the configuration necessary for sending an alert using GitLab
type AlertProvider struct {
WebhookURL string `yaml:"webhook-url"` // The URL of the GitHub repository to create issues in
AuthorizationKey string `yaml:"authorization-key"` // Token requires at least RW on issues and RO on metadata
WebhookURL string `yaml:"webhook-url"` // The webhook url provided by GitLab
AuthorizationKey string `yaml:"authorization-key"` // The authorization key provided by GitLab

// DefaultAlert is the default alert configuration to use for endpoints with an alert of the appropriate type
DefaultAlert *alert.Alert `yaml:"default-alert,omitempty"`
Expand Down

0 comments on commit 47f0fba

Please sign in to comment.