return sig error when fetching a plugin
A signature error was being ignored while fetching a plugin
This commit is contained in:
parent
aa130b070a
commit
2cca6f10fa
|
@ -127,7 +127,7 @@ func (i *ProviderInstaller) Get(provider string, req Constraints) (PluginMeta, e
|
||||||
if !i.SkipVerify {
|
if !i.SkipVerify {
|
||||||
sha256, err := getProviderChecksum(provider, v.String())
|
sha256, err := getProviderChecksum(provider, v.String())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return PluginMeta{}, nil
|
return PluginMeta{}, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// add the checksum parameter for go-getter to verify the download for us.
|
// add the checksum parameter for go-getter to verify the download for us.
|
||||||
|
|
Loading…
Reference in New Issue