From 6c70833378f08a9e51cf01e75a7ed2486a52c3c2 Mon Sep 17 00:00:00 2001 From: Aaron Oman Date: Wed, 16 Sep 2020 20:28:02 -0700 Subject: [PATCH] fix: Ensure the staging environment is properly passed through https://github.com/commitdev/zero/issues/282 --- internal/apply/apply.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/apply/apply.go b/internal/apply/apply.go index 4956715b9..1dca6ec16 100644 --- a/internal/apply/apply.go +++ b/internal/apply/apply.go @@ -101,7 +101,7 @@ func applyAll(dir string, projectConfig projectconfig.ZeroProjectConfig, applyEn // promptEnvironments Prompts the user for the environments to apply against and returns a slice of strings representing the environments func promptEnvironments() []string { items := map[string][]string{ - "Staging ": {"stage"}, + "Staging": {"stage"}, "Production": {"prod"}, "Both Staging and Production": {"stage", "prod"}, }