mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02: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
@ -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…
x
Reference in New Issue
Block a user