Merge pull request #2368 from svanharmelen/b-core-duplicate-code

core: remove duplicate code
This commit is contained in:
Paul Hinze 2015-06-16 12:04:16 -05:00
commit db3a22f4f4

View File

@ -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:]