mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 06:06:38 +01:00
fix(notifications): default templates and logic (#1010)
* fix(notifications): default templates and logic * fix multi-entry report notifs and add test * add tests for log queueing
This commit is contained in:
parent
fc31c6eb26
commit
cd0ec88764
5 changed files with 195 additions and 57 deletions
|
|
@ -30,7 +30,8 @@ func NewNotifier(c *cobra.Command) ty.Notifier {
|
|||
|
||||
urls = AppendLegacyUrls(urls, c)
|
||||
|
||||
return newShoutrrrNotifier(tplString, acceptedLogLevels, !reportTemplate, urls...)
|
||||
title := GetTitle(c)
|
||||
return newShoutrrrNotifier(tplString, acceptedLogLevels, !reportTemplate, title, urls...)
|
||||
}
|
||||
|
||||
// AppendLegacyUrls creates shoutrrr equivalent URLs from legacy notification flags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue