From a465c6f4ccf652fe8573d4e78421fc62abeb2b78 Mon Sep 17 00:00:00 2001 From: Sander van Harmelen Date: Tue, 16 Jun 2015 17:40:59 +0200 Subject: [PATCH] Remove duplicate code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Seems to be a refactoring leftover of some kind as on lines 146-148 these calls are done again… --- main.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main.go b/main.go index abd0e18e3..168583107 100644 --- a/main.go +++ b/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:]