summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--check.go1
-rw-r--r--main.go2
2 files changed, 1 insertions, 2 deletions
diff --git a/check.go b/check.go
index b98dd6a..f728e6d 100644
--- a/check.go
+++ b/check.go
@@ -7,7 +7,6 @@ import (
)
type check struct {
- Name string
Plugin string
Args []string
}
diff --git a/main.go b/main.go
index d7df829..5227a1b 100644
--- a/main.go
+++ b/main.go
@@ -30,7 +30,7 @@ func main() {
stateChanged := state.update(name, status)
if status != ok || stateChanged {
- subject := fmt.Sprintf("GOGIOS %s: %s", codeToString(status), check.Name)
+ subject := fmt.Sprintf("GOGIOS %s: %s", codeToString(status), name)
notify(config, subject, output)
}
}