mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
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
|
||||
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
Block a user