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
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 New Issue