alertmanager/notify
Jo Walsh 8642c0b46e Allow sending of unauthenticated SMTP requests when smtp_auth_username is not supplied (#1739)
* try a more complicated but clearer approach explicitly returning a no-auth stmp.Auth when no username is supplied in config

Signed-off-by: Jo Walsh <jowalsh@bgs.ac.uk>

* fix test to expect no error from auth if username is not supplied
Signed-off-by: Jo Walsh <jowalsh@bgs.ac.uk>

* clean up some formatting errors in surplus comments

Signed-off-by: Jo Walsh <jowalsh@bgs.ac.uk>

* keep noAuth / loginAuth functions all together

Signed-off-by: Jo Walsh <jowalsh@bgs.ac.uk>

* Address latest comments

Co-Authored-By: Jo Walsh <jowalsh@bgs.ac.uk>
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-03-01 15:53:18 +01:00
..
impl.go Allow sending of unauthenticated SMTP requests when smtp_auth_username is not supplied (#1739) 2019-03-01 15:53:18 +01:00
impl_test.go Allow sending of unauthenticated SMTP requests when smtp_auth_username is not supplied (#1739) 2019-03-01 15:53:18 +01:00
notify.go Create a `Muter` implementation for silences 2019-02-26 16:42:59 +01:00
notify_test.go Improve `Mutes` performance for silences 2019-02-28 12:34:41 +01:00