mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
internal/getproviders: staticcheck
This commit is contained in:
parent
4ad7c41ab4
commit
f0c3ddf5a1
@ -261,7 +261,7 @@ func (c *registryClient) PackageMeta(ctx context.Context, provider addrs.Provide
|
||||
match = true
|
||||
}
|
||||
}
|
||||
if match == false {
|
||||
if !match {
|
||||
// If the protocol version is not supported, try to find the closest
|
||||
// matching version.
|
||||
closest, err := c.findClosestProtocolCompatibleVersion(ctx, provider, version)
|
||||
|
Loading…
Reference in New Issue
Block a user