Skip to content

Commit

Permalink
More golint changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd Campbell committed Mar 13, 2020
1 parent 147a7eb commit 5c87ed7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ var (
Keyspace: "sensu.io/plugins/victorops/config",
},
}
// The Sensu Plugin Config Options
// VictorOpsConfigOptions contains the Sensu Plugin Config Options
VictorOpsConfigOptions = []*sensu.PluginConfigOption{
{
Path: routingkey,
Expand Down Expand Up @@ -83,7 +83,7 @@ func main() {

}

// Function to check that necessary arguments are set
// CheckArgs checks that necessary arguments are set
func CheckArgs(_ *corev2.Event) error {

if len(config.RoutingKey) == 0 {
Expand All @@ -100,7 +100,7 @@ func CheckArgs(_ *corev2.Event) error {
return nil
}

// Function that builds the event message and sends it to VO
// SendVictorOps builds the event message and sends it to VO
func SendVictorOps(event *corev2.Event) error {

var msgType string
Expand Down

0 comments on commit 5c87ed7

Please sign in to comment.