forked from prometheus/alertmanager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: validate URLs at config load time (prometheus#1468)
* config: validate URLs at config load time Signed-off-by: Simon Pasquier <[email protected]> * Address Brian and Lucas comments Signed-off-by: Simon Pasquier <[email protected]> * Shallow copy of URL instead of reparsing it Signed-off-by: Simon Pasquier <[email protected]> * Unshadow net/url package Signed-off-by: Simon Pasquier <[email protected]> * Make a deep-copy of URL struct Signed-off-by: Simon Pasquier <[email protected]>
- Loading branch information
1 parent
cfbdf41
commit 2261953
Showing
7 changed files
with
280 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.