internal/getproviders: staticcheck

This commit is contained in:
James Bardin 2020-12-01 16:26:11 -05:00
parent 4ad7c41ab4
commit f0c3ddf5a1
1 changed files with 1 additions and 1 deletions

View File

@ -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)