mirror of
https://github.com/docker/compose.git
synced 2025-07-23 21:54:40 +02:00
Merge pull request #8093 from JimCronqvist/master
Fix incorrect CLI env variable name for service profiles
This commit is contained in:
commit
546133c977
@ -129,7 +129,7 @@ def get_profiles_from_options(options, environment):
|
|||||||
if profile_option:
|
if profile_option:
|
||||||
return profile_option
|
return profile_option
|
||||||
|
|
||||||
profiles = environment.get('COMPOSE_PROFILE')
|
profiles = environment.get('COMPOSE_PROFILES')
|
||||||
if profiles:
|
if profiles:
|
||||||
return profiles.split(',')
|
return profiles.split(',')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user