diff --git a/main.go b/main.go index d8d46c0..712e59b 100644 --- a/main.go +++ b/main.go @@ -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, @@ -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 { @@ -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