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:
parent
c6a74fa003
commit
2831c3eb6e
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,7 @@ type mondashResult struct {
|
||||||
Freshness int64 `json:"freshness"`
|
Freshness int64 `json:"freshness"`
|
||||||
IgnoreMAD bool `json:"ignore_mad"`
|
IgnoreMAD bool `json:"ignore_mad"`
|
||||||
HideMAD bool `json:"hide_mad"`
|
HideMAD bool `json:"hide_mad"`
|
||||||
|
HideValue bool `json:"hide_value"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *configFile) notifyMonDash(success bool, err error) error {
|
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,
|
Freshness: c.Notifications.MonDash.Freshness,
|
||||||
IgnoreMAD: true,
|
IgnoreMAD: true,
|
||||||
HideMAD: true,
|
HideMAD: true,
|
||||||
|
HideValue: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
if success {
|
if success {
|
||||||
|
|
Loading…
Reference in a new issue