Skip to content

Conversation

@rdamazio
Copy link
Contributor

This only adds e-mail notifications, but others could be easily done. In
many cases, adding another existing logrus hook will be sufficient.

This only adds e-mail notifications, but others could be easily done. In
many cases, adding another existing logrus hook will be sufficient.
}
}

func (n *Notifier) SendNotification() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported method Notifier.SendNotification should have comment or be unexported

return n
}

func (n *Notifier) StartNotification() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported method Notifier.StartNotification should have comment or be unexported

types []typeNotifier
}

func NewNotifier(c *cli.Context) *Notifier {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported function NewNotifier should have comment or be unexported

SendNotification()
}

type Notifier struct {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported type Notifier should have comment or be unexported

}
}

func (n *Notifier) SendNotification() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported method Notifier.SendNotification should have comment or be unexported

return n
}

func (n *Notifier) StartNotification() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported method Notifier.StartNotification should have comment or be unexported

types []typeNotifier
}

func NewNotifier(c *cli.Context) *Notifier {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported function NewNotifier should have comment or be unexported

SendNotification()
}

type Notifier struct {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported type Notifier should have comment or be unexported

@stffabi
Copy link
Contributor

stffabi commented Nov 8, 2017

Thanks so much for your contribution, really a nice addition to watchtower.

I'll take a look into it in the next couple of days.

Copy link

@cwildfoerster cwildfoerster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rdamazio
Copy link
Contributor Author

cwildfoerster - thanks, but I suspect stffabi or someone else with write access needs to also approve.

@stffabi
Copy link
Contributor

stffabi commented Nov 21, 2017

@rdamazio thanks, LGTM. Would you have time to add some little documentation to the readme.md?

@Nightbr
Copy link

Nightbr commented Nov 24, 2017

hey, nice work!
+1 for more documentation and also it could be great to configure logrus slack integration.

@rdamazio
Copy link
Contributor Author

Done - see if this looks good.

@stffabi
Copy link
Contributor

stffabi commented Nov 27, 2017

@rdamazio thanks again for your contribution. I'm merging it right now.

@stffabi
Copy link
Contributor

stffabi commented Nov 27, 2017

@rdamazio great work.

@stffabi stffabi added this to the v0.2.0 milestone Nov 27, 2017
@stffabi stffabi merged commit f365014 into containrrr:master Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants