Skip to content

Commit

Permalink
Remove unnecessary dependency on "os" package from main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sayakghosh committed May 16, 2019
1 parent 3acc9c9 commit 3a21953
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.go
Expand Up @@ -8,7 +8,6 @@ import (
"io/ioutil"
"net/mail"
"net/smtp"
"os"
"text/template"

"github.com/sensu/sensu-plugins-go-library/sensu"
Expand All @@ -26,7 +25,6 @@ var (
hookout bool
insecure bool
bodyTemplateFile string
stdin *os.File

emailSubjectTemplate = "Sensu Alert - {{.Entity.Name}}/{{.Check.Name}}: {{.Check.State}}"
emailBodyTemplate = "{{.Check.Output}}"
Expand Down

0 comments on commit 3a21953

Please sign in to comment.