1
0
Fork 0
mirror of https://github.com/Luzifer/duplicity-backup.git synced 2024-11-09 15:40:06 +00:00

Hide value in mondash entries

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-08-17 00:19:04 +02:00
parent c6a74fa003
commit 2831c3eb6e
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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 {