mirror of
https://github.com/docker/compose.git
synced 2026-08-04 14:47:40 +00:00
Merge pull request #6588 from javabrett/6587-default-mand-interp-err
Default ?err to (missing) required VAR name. Fixed #6587.
This commit is contained in:
commit
ca721728f6
1 changed files with 6 additions and 6 deletions
|
|
@ -64,12 +64,12 @@ def interpolate_value(name, config_key, value, section, interpolator):
|
|||
string=e.string))
|
||||
except UnsetRequiredSubstitution as e:
|
||||
raise ConfigurationError(
|
||||
'Missing mandatory value for "{config_key}" option in {section} "{name}": {err}'.format(
|
||||
config_key=config_key,
|
||||
name=name,
|
||||
section=section,
|
||||
err=e.err
|
||||
)
|
||||
'Missing mandatory value for "{config_key}" option interpolating {value} '
|
||||
'in {section} "{name}": {err}'.format(config_key=config_key,
|
||||
value=value,
|
||||
name=name,
|
||||
section=section,
|
||||
err=e.err)
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue