mirror of
https://github.com/hashicorp/terraform.git
synced 2026-05-28 04:03:27 -04:00
Remove duplicate code
Seems to be a refactoring leftover of some kind as on lines 146-148 these calls are done again…
This commit is contained in:
parent
f1a88fca5b
commit
a465c6f4cc
1 changed files with 0 additions and 4 deletions
4
main.go
4
main.go
|
|
@ -101,10 +101,6 @@ func wrappedMain() int {
|
|||
// Make sure we clean up any managed plugins at the end of this
|
||||
defer plugin.CleanupClients()
|
||||
|
||||
// Initialize the TFConfig settings for the commands...
|
||||
ContextOpts.Providers = config.ProviderFactories()
|
||||
ContextOpts.Provisioners = config.ProvisionerFactories()
|
||||
|
||||
// Get the command line args. We shortcut "--version" and "-v" to
|
||||
// just show the version.
|
||||
args := os.Args[1:]
|
||||
|
|
|
|||
Loading…
Reference in a new issue