alertmanager/notify
Simon Pasquier 226195308a
config: validate URLs at config load time (#1468)
* config: validate URLs at config load time

Signed-off-by: Simon Pasquier <spasquie@redhat.com>

* Address Brian and Lucas comments

Signed-off-by: Simon Pasquier <spasquie@redhat.com>

* Shallow copy of URL instead of reparsing it

Signed-off-by: Simon Pasquier <spasquie@redhat.com>

* Unshadow net/url package

Signed-off-by: Simon Pasquier <spasquie@redhat.com>

* Make a deep-copy of URL struct

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-08-14 10:38:49 +02:00
..
impl_test.go config: validate URLs at config load time (#1468) 2018-08-14 10:38:49 +02:00
impl.go config: validate URLs at config load time (#1468) 2018-08-14 10:38:49 +02:00
notify_test.go notify: notify resolved alerts properly (#1408) 2018-06-08 11:37:38 +02:00
notify.go notify: notify resolved alerts properly (#1408) 2018-06-08 11:37:38 +02:00