Correct AutoHSTS docs (#7767)

domains is a list of strings, not a single string.

* Correct AutoHSTS docs.

* Fix Apache enable_autohsts docs.
This commit is contained in:
Brad Warren
2020-02-18 14:54:07 -08:00
committed by GitHub
parent 99b1538d0a
commit 42dda355c5
2 changed files with 2 additions and 2 deletions
@@ -2471,7 +2471,7 @@ class ApacheConfigurator(common.Installer):
:type _unused_lineage: certbot._internal.storage.RenewableCert
:param domains: List of domains in certificate to enhance
:type domains: str
:type domains: `list` of `str`
"""
self._autohsts_fetch_state()
+1 -1
View File
@@ -153,7 +153,7 @@ class AutoHSTSEnhancement(object):
:type lineage: certbot.interfaces.RenewableCert
:param domains: List of domains in certificate to enhance
:type domains: str
:type domains: `list` of `str`
"""
# This is used to configure internal new style enhancements in Certbot. These