From aefe0ced6c481fc5866a459cee5a04baed16ba1e Mon Sep 17 00:00:00 2001 From: Dan Watkins Date: Thu, 28 Oct 2021 12:53:20 -0400 Subject: [PATCH] distros: s/TODO: // for a completed TODO This was fixed in 1bbc4908ff7a2be19483811b3b6fee6ebc916235 --- cloudinit/distros/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py index fe0015c69fa..cf6aad14b25 100755 --- a/cloudinit/distros/__init__.py +++ b/cloudinit/distros/__init__.py @@ -879,7 +879,7 @@ def _sanitize_mirror_url(url: str): * Converts it to its IDN form (see below for details) * Replaces any non-Letters/Digits/Hyphen (LDH) characters in it with hyphens - * TODO: Remove any leading/trailing hyphens from each domain name label + * Removes any leading/trailing hyphens from each domain name label Before we replace any invalid domain name characters, we first need to ensure that any valid non-ASCII characters in the hostname will not be