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
|
match = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if match == false {
|
if !match {
|
||||||
// If the protocol version is not supported, try to find the closest
|
// If the protocol version is not supported, try to find the closest
|
||||||
// matching version.
|
// matching version.
|
||||||
closest, err := c.findClosestProtocolCompatibleVersion(ctx, provider, version)
|
closest, err := c.findClosestProtocolCompatibleVersion(ctx, provider, version)
|
||||||
|
|
Loading…
Reference in New Issue