Skip to content

Commit

Permalink
Update notify/pushover/pushover.go
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Pasquier <[email protected]>
  • Loading branch information
simonpasquier authored Aug 30, 2023
1 parent baffbdf commit 961d509
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion notify/pushover/pushover.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ func (n *Notifier) Notify(ctx context.Context, as ...*types.Alert) (bool, error)
parameters.Add("sound", tmpl(n.conf.Sound))

newttl := int64(time.Duration(n.conf.TTL).Seconds())

if newttl > 0 {
parameters.Add("ttl", fmt.Sprintf("%d", newttl))

Expand Down

0 comments on commit 961d509

Please sign in to comment.