summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2021-10-28 14:08:53 -0400
committerGitHub <noreply@github.com>2021-10-28 13:08:53 -0500
commitd4fe4bf5d5a09747bc8e5faed13356210fb89a32 (patch)
treead296a4509359c645d8f51e276f9ede1c173c340
parentd77d6bf197ec619f45a2ed81368a6cf408882670 (diff)
downloadvyos-cloud-init-d4fe4bf5d5a09747bc8e5faed13356210fb89a32.tar.gz
vyos-cloud-init-d4fe4bf5d5a09747bc8e5faed13356210fb89a32.zip
distros: Remove a completed "TODO" comment (#1086)
This was fixed in 1bbc4908ff7a2be19483811b3b6fee6ebc916235
-rwxr-xr-xcloudinit/distros/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py
index fe0015c6..cf6aad14 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