forked from stove/risotto
parent
55b0140edd
commit
8e6dd476bf
1 changed files with 3 additions and 3 deletions
|
@ -230,12 +230,12 @@ def valid_mandatories(config):
|
|||
var_server_name = config.option(path_server_name).description()
|
||||
if server_name != var_server_name:
|
||||
server_name = var_server_name
|
||||
title = f'=== Missing variables for {server_name} ==='
|
||||
title = f'=== Missing variables for "{server_name.split(".", 1)[0]}" ==='
|
||||
text = mandatory_option.doc()
|
||||
msg = f' - {text} ({path})'
|
||||
supplier = mandatory_option.information.get('supplier', None)
|
||||
if supplier:
|
||||
msg += f' you could add a service that provides "{supplier}"'
|
||||
if supplier and not ':' in supplier:
|
||||
msg += f' you should add a service that provides "{supplier}"'
|
||||
if mandatory_option.isfollower():
|
||||
leader = mandatory_option.leader()
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue