From db5b81d2c1bbca8cab65548aa3d57d60a3d61107 Mon Sep 17 00:00:00 2001 From: Agustin Guayama <15695830+agustinguayama@users.noreply.github.com> Date: Thu, 29 Jun 2023 17:34:34 -0300 Subject: [PATCH] fix typo in terraform/internal/command /init.go --- internal/command/init.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/command/init.go b/internal/command/init.go index f3dea6bfaa..f8eaab66cd 100644 --- a/internal/command/init.go +++ b/internal/command/init.go @@ -638,7 +638,7 @@ func (c *InitCommand) getProviders(config *configs.Config, state *states.State, diags = diags.Append(tfdiags.Sourceless( tfdiags.Error, "Invalid provider registry host", - fmt.Sprintf("The host %q given in in provider source address %q does not offer a Terraform provider registry that is compatible with this Terraform version, but it may be compatible with a different Terraform version.", + fmt.Sprintf("The host %q given in provider source address %q does not offer a Terraform provider registry that is compatible with this Terraform version, but it may be compatible with a different Terraform version.", errorTy.Hostname, provider.String(), ), )) @@ -647,7 +647,7 @@ func (c *InitCommand) getProviders(config *configs.Config, state *states.State, diags = diags.Append(tfdiags.Sourceless( tfdiags.Error, "Invalid provider registry host", - fmt.Sprintf("The host %q given in in provider source address %q does not offer a Terraform provider registry.", + fmt.Sprintf("The host %q given in provider source address %q does not offer a Terraform provider registry.", errorTy.Hostname, provider.String(), ), ))