prometheus/vendor
Paul Gier f79b55d057 cmd/prometheus: remove govalidator for url validation
The usage of govalidator is redundant with the call to url.Parse for
url validation. Removing it has the following benefits:

 - The explicit error message is displayed instead of just a generic
   valid/invalid message
 - Slightly smaller code with one fewer external dependency
 - Speed improvement by removing duplicate call to url.Parse (inside
   govalidator.IsURL()
 - Resolves issue #2717

The only potential drawback of removing govalidator is that certain
URLs will be considered valid which were previously invalid. For example:

 - URLs with hostnames that start and/or end with an underscore (http://_example.com_)
 - URLs with hostnames that contain some special characters (http://foo&*bar.org)

These are valid URIs according to RFC 3986 and valid domain names per RFC 2181,
however they are not valid hostnames per RFC 952.
2017-10-04 10:08:34 -05:00
..
github.com cmd/prometheus: remove govalidator for url validation 2017-10-04 10:08:34 -05:00
golang.org/x vendoring: Remove unused packages 2017-04-11 12:58:24 +02:00
google.golang.org Add deps for google cloud support 2016-09-16 08:51:58 +02:00
gopkg.in kubernetes: use and vendor 1.5 client 2016-10-17 10:32:10 +02:00
k8s.io vendor: remove leftover dependency 2017-05-12 09:14:44 +02:00
vendor.json cmd/prometheus: remove govalidator for url validation 2017-10-04 10:08:34 -05:00