mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
update
This commit is contained in:
parent
b0fafbe134
commit
783b0fc5b8
@ -30,9 +30,9 @@ type ErrHostNoProviders struct {
|
|||||||
func (err ErrHostNoProviders) Error() string {
|
func (err ErrHostNoProviders) Error() string {
|
||||||
switch {
|
switch {
|
||||||
case err.HasOtherVersion:
|
case err.HasOtherVersion:
|
||||||
return fmt.Sprintf("host %s does not support the provider registry protocol required by this Terraform version, but may be compatible with a different Terraform version", err.Hostname.ForDisplay())
|
return fmt.Sprintf("host %s does not support the provider registry protocol required by this OpenTF version, but may be compatible with a different OpenTF version", err.Hostname.ForDisplay())
|
||||||
default:
|
default:
|
||||||
return fmt.Sprintf("host %s does not offer a Terraform provider registry", err.Hostname.ForDisplay())
|
return fmt.Sprintf("host %s does not offer a OpenTF provider registry", err.Hostname.ForDisplay())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -200,7 +200,7 @@ func PackageMatchesHash(loc PackageLocation, want Hash) (bool, error) {
|
|||||||
}
|
}
|
||||||
return got == want, nil
|
return got == want, nil
|
||||||
default:
|
default:
|
||||||
return false, fmt.Errorf("unsupported hash format (this may require a newer version of Terraform)")
|
return false, fmt.Errorf("unsupported hash format (this may require a newer version of OpenTF)")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user