fixup main.go comment about providersource

This commit is contained in:
Martin Atkins 2020-04-23 10:49:19 -07:00
parent 5af1e6234a
commit 94b87e056b
1 changed files with 0 additions and 4 deletions

View File

@ -165,10 +165,6 @@ func wrappedMain() int {
services := disco.NewWithCredentialsSource(credsSrc)
services.SetUserAgent(httpclient.TerraformUserAgent(version.String()))
// For the moment, we just always use the registry source to install
// direct from a registry. In future there should be a mechanism to
// configure providers sources from the CLI config, which will then
// change how we construct this object.
providerSrc, diags := providerSource(config.ProviderInstallation, services)
if len(diags) > 0 {
Ui.Error("There are some problems with the provider_installation configuration:")