mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 06:06:38 +01:00
fix linting and formatting
This commit is contained in:
parent
00715e4633
commit
4672811983
7 changed files with 30 additions and 31 deletions
|
|
@ -29,7 +29,7 @@ func NewNotifier(c *cobra.Command) *Notifier {
|
|||
// Parse types and create notifiers.
|
||||
types, err := f.GetStringSlice("notifications")
|
||||
if err != nil {
|
||||
log.WithField("could not read notifications argument", log.Fields{ "Error": err }).Fatal()
|
||||
log.WithField("could not read notifications argument", log.Fields{"Error": err}).Fatal()
|
||||
}
|
||||
for _, t := range types {
|
||||
var tn ty.Notifier
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue