Skip to content

Commit

Permalink
fix: retain environment order during zero apply (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcheung committed Sep 16, 2020
1 parent a0de2ed commit d1b3783
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/apply/apply.go
Expand Up @@ -106,10 +106,7 @@ func promptEnvironments() []string {
"Both Staging and Production": {"stage", "prod"},
}

var labels []string
for label := range items {
labels = append(labels, label)
}
labels := []string{"Staging", "Production", "Both Staging and Production"}

providerPrompt := promptui.Select{
Label: "Environments",
Expand Down

0 comments on commit d1b3783

Please sign in to comment.