Merge pull request #22146 from hashicorp/jbardin/get-panic
missing error check in discovery
This commit is contained in:
commit
a0b0c29ad2
|
@ -204,6 +204,9 @@ func (i *ProviderInstaller) Get(provider string, req Constraints) (PluginMeta, t
|
|||
}
|
||||
|
||||
downloadURLs, err := i.listProviderDownloadURLs(providerSource, versionMeta.Version)
|
||||
if err != nil {
|
||||
return PluginMeta{}, diags, err
|
||||
}
|
||||
providerURL := downloadURLs.DownloadURL
|
||||
|
||||
if !i.SkipVerify {
|
||||
|
|
Loading…
Reference in New Issue