From 31002aeacd2e8c0d0a7b88568bcd3da8a96f2b90 Mon Sep 17 00:00:00 2001 From: Jim Cronqvist Date: Tue, 2 Feb 2021 21:41:57 +0100 Subject: [PATCH] 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 --- compose/cli/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/cli/command.py b/compose/cli/command.py index 599df9969..e8d399aa1 100644 --- a/compose/cli/command.py +++ b/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(',')