mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 06:06:38 +01:00
fix(notifications): include icon in slack legacy url (#1303)
This commit is contained in:
parent
08831f798c
commit
489356aa42
2 changed files with 28 additions and 0 deletions
|
|
@ -56,6 +56,11 @@ func (s *slackTypeNotifier) GetURL(c *cobra.Command, title string) (string, erro
|
|||
SplitLines: true,
|
||||
Username: s.Username,
|
||||
}
|
||||
|
||||
if s.IconURL != "" {
|
||||
conf.Avatar = s.IconURL
|
||||
}
|
||||
|
||||
return conf.GetURL().String(), nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue