deprecate URLsFromStrings which is only used in other deprecated functions

Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
This commit is contained in:
Tim Ramlot 2024-01-05 11:43:22 +01:00
parent f64fdcd41b
commit a49bc65b03
No known key found for this signature in database
GPG Key ID: 47428728E0C2878D

View File

@ -69,6 +69,7 @@ func DNSNamesForCertificate(crt *v1.Certificate) ([]string, error) {
return crt.Spec.DNSNames, nil
}
// DEPRECATED: this function will be removed in a future release.
func URLsFromStrings(urlStrs []string) ([]*url.URL, error) {
var urls []*url.URL
var errs []string