mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
Tell the user what kind of conf files were missing domains
This commit is contained in:
parent
63383f9c61
commit
1066a88dae
1 changed files with 5 additions and 1 deletions
|
|
@ -103,8 +103,12 @@ def choose_names(installer):
|
|||
names = get_valid_domains(domains)
|
||||
|
||||
if not names:
|
||||
server = ""
|
||||
if hasattr(installer, "name") and installer.name:
|
||||
server = "{0} ".format(installer.name)
|
||||
server = server[0].upper() + server[1:] # capitalise server name
|
||||
return _choose_names_manually(
|
||||
"No names were found in your configuration files. ")
|
||||
"No names were found in your {0}configuration files. ".format(server))
|
||||
|
||||
code, names = _filter_names(names)
|
||||
if code == display_util.OK and names:
|
||||
|
|
|
|||
Loading…
Reference in a new issue