diff options
author | Brad Warren <bmw@users.noreply.github.com> | 2020-02-19 01:54:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-19 01:54:07 +0300 |
commit | 42dda355c598d9e1938f6ab4eb30f4fc05b5964f (patch) | |
tree | ad10f4d8136893723403eb52539e20e0f11c4e81 | |
parent | 99b1538d0a70986c7e925e8c091b2f36bded9a4b (diff) |
Correct AutoHSTS docs (#7767)
domains is a list of strings, not a single string.
* Correct AutoHSTS docs.
* Fix Apache enable_autohsts docs.
-rw-r--r-- | certbot-apache/certbot_apache/_internal/configurator.py | 2 | ||||
-rw-r--r-- | certbot/certbot/plugins/enhancements.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/certbot-apache/certbot_apache/_internal/configurator.py b/certbot-apache/certbot_apache/_internal/configurator.py index 465237590..8daa28173 100644 --- a/certbot-apache/certbot_apache/_internal/configurator.py +++ b/certbot-apache/certbot_apache/_internal/configurator.py @@ -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() diff --git a/certbot/certbot/plugins/enhancements.py b/certbot/certbot/plugins/enhancements.py index be9b7933d..4abce2d2f 100644 --- a/certbot/certbot/plugins/enhancements.py +++ b/certbot/certbot/plugins/enhancements.py @@ -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 |