From 2831c3eb6ede9caa1dc42480dd0e8e44faa9835d Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 17 Aug 2019 00:19:04 +0200 Subject: [PATCH] Hide value in mondash entries Signed-off-by: Knut Ahlers --- notification.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/notification.go b/notification.go index d32bc97..0e5de3e 100644 --- a/notification.go +++ b/notification.go @@ -47,6 +47,7 @@ type mondashResult struct { Freshness int64 `json:"freshness"` IgnoreMAD bool `json:"ignore_mad"` HideMAD bool `json:"hide_mad"` + HideValue bool `json:"hide_value"` } func (c *configFile) notifyMonDash(success bool, err error) error { @@ -59,6 +60,7 @@ func (c *configFile) notifyMonDash(success bool, err error) error { Freshness: c.Notifications.MonDash.Freshness, IgnoreMAD: true, HideMAD: true, + HideValue: true, } if success {