Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! prompt global creden…
Browse files Browse the repository at this point in the history
…tials according to modules
  • Loading branch information
davidcheung committed Jun 16, 2020
1 parent d38706e commit a9e32ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/context/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,7 @@ func getCredentialPrompts(projectCredentials globalconfig.ProjectCredential, mod
for _, module := range moduleConfigs {
uniqueVendors = appendToSet(uniqueVendors, module.RequiredCredentials)
}

// map struct is to maintain the
// map is to keep track of which vendor they belong to, to fill them back into the projectConfig
prompts := map[string][]PromptHandler{}
for _, vendor := range uniqueVendors {
prompts[vendor] = mapVendorToPrompts(projectCredentials, vendor)
Expand Down

0 comments on commit a9e32ff

Please sign in to comment.