mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
Correct message about vhost ambiguity.
When our Apache plugin is unable to determine which virtual host to use in non-interactive mode, it raises an error about vhost ambiguity with instructions on how to fix the problem. These instructions stated that we require one vhost per file which is no longer accurate since #4706 so I removed this part of the error message.
This commit is contained in:
parent
9610320ee7
commit
d3549e18a7
1 changed files with 5 additions and 4 deletions
|
|
@ -88,10 +88,11 @@ def _vhost_menu(domain, vhosts):
|
|||
choices, help_label="More Info",
|
||||
ok_label="Select", force_interactive=True)
|
||||
except errors.MissingCommandlineFlag:
|
||||
msg = ("Encountered vhost ambiguity but unable to ask for user guidance in "
|
||||
"non-interactive mode. Currently Certbot needs each vhost to be "
|
||||
"in its own conf file, and may need vhosts to be explicitly "
|
||||
"labelled with ServerName or ServerAlias directives.")
|
||||
msg = (
|
||||
"Encountered vhost ambiguity but unable to ask for user "
|
||||
"guidance in non-interactive mode. Certbot may need "
|
||||
"vhosts to be explicitly labelled with ServerName or "
|
||||
"ServerAlias directives.")
|
||||
logger.warning(msg)
|
||||
raise errors.MissingCommandlineFlag(msg)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue