mirror of
https://github.com/docker/compose.git
synced 2025-07-21 04:34:38 +02: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
@ -64,12 +64,12 @@ def interpolate_value(name, config_key, value, section, interpolator):
|
|||||||
string=e.string))
|
string=e.string))
|
||||||
except UnsetRequiredSubstitution as e:
|
except UnsetRequiredSubstitution as e:
|
||||||
raise ConfigurationError(
|
raise ConfigurationError(
|
||||||
'Missing mandatory value for "{config_key}" option in {section} "{name}": {err}'.format(
|
'Missing mandatory value for "{config_key}" option interpolating {value} '
|
||||||
config_key=config_key,
|
'in {section} "{name}": {err}'.format(config_key=config_key,
|
||||||
name=name,
|
value=value,
|
||||||
section=section,
|
name=name,
|
||||||
err=e.err
|
section=section,
|
||||||
)
|
err=e.err)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user