return sig error when fetching a plugin

A signature error was being ignored while fetching a plugin
This commit is contained in:
James Bardin 2017-06-21 12:57:51 -04:00
parent aa130b070a
commit 2cca6f10fa
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ func (i *ProviderInstaller) Get(provider string, req Constraints) (PluginMeta, e
if !i.SkipVerify {
sha256, err := getProviderChecksum(provider, v.String())
if err != nil {
return PluginMeta{}, nil
return PluginMeta{}, err
}
// add the checksum parameter for go-getter to verify the download for us.