Merge pull request #2368 from svanharmelen/b-core-duplicate-code
core: remove duplicate code
This commit is contained in:
commit
db3a22f4f4
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
|
// Make sure we clean up any managed plugins at the end of this
|
||||||
defer plugin.CleanupClients()
|
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
|
// Get the command line args. We shortcut "--version" and "-v" to
|
||||||
// just show the version.
|
// just show the version.
|
||||||
args := os.Args[1:]
|
args := os.Args[1:]
|
||||||
|
|
Loading…
Reference in New Issue