In go1.14, the following change to 'net/url' was made: "When parsing of a URL fails (for example by Parse or ParseRequestURI), the resulting Error message will now quote the unparsable URL. This provides clearer structure and consistency with other parsing errors." Here we add a new const, 'invalidURLErrFmt' to properly handle the now quoted string in validation_test.go. ref: https://golang.org/doc/go1.14#net/url Signed-off-by: Stephen Augustus <saugustus@vmware.com> Kubernetes-commit: b0f17c2918fe0d099fc59f17788ca60202a5ae1a |
||
---|---|---|
.. | ||
v1 | ||
validation | ||
doc.go | ||
register.go | ||
types.go | ||
zz_generated.deepcopy.go |