Browse Source

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 <[email protected]>
Jim Cronqvist 4 years ago
parent
commit
31002aeacd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compose/cli/command.py

+ 1 - 1
compose/cli/command.py

@@ -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(',')