From 8272d3b1016aa4525df6d840116ca6323606ddba Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Thu, 8 Aug 2019 17:07:27 -0700 Subject: [PATCH] command/cliconfig: Remove command dependency This was a leftover from the migration of these types from the main package, but we don't actually need or want this here because this particular detail is still handled by the main package, and because the cliconfig package must not depend on the command package in order to avoid an import cycle. --- command/cliconfig/cliconfig.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/command/cliconfig/cliconfig.go b/command/cliconfig/cliconfig.go index a3e6ea9cf..5925b40b3 100644 --- a/command/cliconfig/cliconfig.go +++ b/command/cliconfig/cliconfig.go @@ -17,7 +17,6 @@ import ( "github.com/hashicorp/hcl" - "github.com/hashicorp/terraform/command" "github.com/hashicorp/terraform/svchost" "github.com/hashicorp/terraform/tfdiags" ) @@ -62,10 +61,6 @@ type ConfigCredentialsHelper struct { // can be overridden by user configurations. var BuiltinConfig Config -// PluginOverrides are paths that override discovered plugins, set from -// the config file. -var PluginOverrides command.PluginOverrides - // ConfigFile returns the default path to the configuration file. // // On Unix-like systems this is the ".terraformrc" file in the home directory.