missing error check in discovery
This commit is contained in:
parent
b117457c6a
commit
666838f309
|
@ -204,6 +204,9 @@ func (i *ProviderInstaller) Get(provider string, req Constraints) (PluginMeta, t
|
||||||
}
|
}
|
||||||
|
|
||||||
downloadURLs, err := i.listProviderDownloadURLs(providerSource, versionMeta.Version)
|
downloadURLs, err := i.listProviderDownloadURLs(providerSource, versionMeta.Version)
|
||||||
|
if err != nil {
|
||||||
|
return PluginMeta{}, diags, err
|
||||||
|
}
|
||||||
providerURL := downloadURLs.DownloadURL
|
providerURL := downloadURLs.DownloadURL
|
||||||
|
|
||||||
if !i.SkipVerify {
|
if !i.SkipVerify {
|
||||||
|
|
Loading…
Reference in New Issue