Merge pull request #6607 from inteon/deprecate_util_function

Deprecate URLsFromStrings which is only used in other deprecated functions
This commit is contained in:
jetstack-bot 2024-01-05 15:23:16 +00:00 committed by GitHub
commit e0189a6a30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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