fix linting and formatting

This commit is contained in:
Simon Aronsson 2020-04-24 13:45:24 +02:00
parent 00715e4633
commit 4672811983
7 changed files with 30 additions and 31 deletions

View file

@ -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