mirror of
https://github.com/docker/compose.git
synced 2026-07-11 02:34:25 +00:00
Fix incorrect CLI variable name for service profiles
Changed from singular to plural as defined in the docs, i.e. "COMPOSE_PROFILES" Signed-off-by: Jim Cronqvist <jim.cronqvist@gmail.com>
This commit is contained in:
parent
bba8cd0322
commit
31002aeacd
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ def get_profiles_from_options(options, environment):
|
|||
if profile_option:
|
||||
return profile_option
|
||||
|
||||
profiles = environment.get('COMPOSE_PROFILE')
|
||||
profiles = environment.get('COMPOSE_PROFILES')
|
||||
if profiles:
|
||||
return profiles.split(',')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue